Skip to content

Commit

Permalink
Disable test datasets button for non-database integrations (#5560)
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana authored Dec 5, 2024
1 parent 1415108 commit 411c895
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -522,11 +522,13 @@ export const ConnectorParametersForm = ({
{testButtonLabel}
</Button>
) : null}
{isPlusEnabled && !_.isEmpty(initialDatasets) && (
<Button onClick={() => onTestDatasetsClick()}>
Test datasets
</Button>
)}
{isPlusEnabled &&
SystemType.DATABASE === connectionOption.type &&
!_.isEmpty(initialDatasets) && (
<Button onClick={() => onTestDatasetsClick()}>
Test datasets
</Button>
)}
{connectionOption.authorization_required && !authorized ? (
<Button
loading={isAuthorizing}
Expand Down

0 comments on commit 411c895

Please sign in to comment.