Skip to content

Commit

Permalink
fix(explore): incorrect missing datasource condition (#12758)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud authored and villebro committed Jan 29, 2021
1 parent 2fc03f8 commit 99534f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class DatasourceControl extends React.PureComponent {
render() {
const { showChangeDatasourceModal, showEditDatasourceModal } = this.state;
const { datasource, onChange } = this.props;
const isMissingDatasource = datasource;
const isMissingDatasource = datasource.id == null;
const datasourceMenu = (
<Menu onClick={this.handleMenuItemClick}>
{this.props.isEditable && (
Expand Down

0 comments on commit 99534f2

Please sign in to comment.