未验证 提交 ab741d72 编写于 作者: J Jesse Yang 提交者: GitHub

fix(explore): incorrect missing datasource condition (#12758)

上级 a5df4c60
......@@ -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 && (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册