Skip to content

Commit 525328e

Browse files
committed
Fix a boolean
1 parent 9708688 commit 525328e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/data-source-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ export default class DataSourcePanel extends React.Component<DataSourcePanelProp
546546
}
547547

548548
submit = () => {
549-
if (!this.state.selectedDataSource || this.state.isAdding) return;
549+
if (!this.state.selectedDataSource || this.state.isLoading) return;
550550

551551
let config = {};
552552
this.state.selectedDataSource.configFields.forEach(field => {

0 commit comments

Comments
 (0)