Skip to content

Commit

Permalink
fix(custom-target): loading state should show (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo authored Apr 25, 2023
1 parent 7cfae86 commit a5b79dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Topology/Actions/CreateTarget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,13 @@ export const CreateTarget: React.FC<CreateTargetProps> = ({ prefilled, ..._props
</FormGroup>
</GridItem>
<GridItem {...responsiveSpans[1]} order={{ default: '1', lg: '1', xl: '1', md: '1' }}>
<SampleNodeDonut target={target} validation={validation} testing={loading} onClick={testTarget} />
<SampleNodeDonut target={target} validation={validation} testing={testing} onClick={testTarget} />
</GridItem>
</Grid>
<ActionGroup>
<Button
variant="primary"
isDisabled={!connectUrl || validConnectUrl !== ValidatedOptions.success || loading}
isDisabled={!connectUrl || validConnectUrl !== ValidatedOptions.success || loading || testing}
onClick={handleSubmit}
{...createButtonLoadingProps}
data-quickstart-id="ct-create-btn"
Expand Down

0 comments on commit a5b79dd

Please sign in to comment.