Skip to content

Commit

Permalink
Fix logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
codyml committed Jan 12, 2023
1 parent 55dc687 commit 3e6d31a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class DatasourceControl extends React.PureComponent {
showSaveDatasetModal,
} = this.state;
const { datasource, onChange, theme } = this.props;
const isMissingDatasource = !!datasource?.id;
const isMissingDatasource = !datasource?.id;
let isMissingParams = false;
if (isMissingDatasource) {
const datasourceId = getUrlParam(URL_PARAMS.datasourceId);
Expand Down

0 comments on commit 3e6d31a

Please sign in to comment.