Skip to content

Commit

Permalink
Fix flashing banner when creating pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SoniaSanzV committed Nov 12, 2024
1 parent c4e97c6 commit a8e1fa6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const PipelineForm: React.FunctionComponent<PipelineFormProps> = ({
<Form
form={form}
data-test-subj="pipelineForm"
isInvalid={form.isSubmitted && !form.isValid}
isInvalid={form.isSubmitted && !form.isValid && !form.isSubmitting}
error={form.getErrors()}
>
{/* Request error */}
Expand Down Expand Up @@ -244,7 +244,6 @@ export const PipelineForm: React.FunctionComponent<PipelineFormProps> = ({
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>

{/* ES request flyout */}
{isRequestVisible ? (
<PipelineRequestFlyout
Expand Down

0 comments on commit a8e1fa6

Please sign in to comment.