mirror of
https://github.com/apache/superset.git
synced 2026-06-07 00:29:17 +00:00
fix PRODUCT-67916 Click OK button cannot close error message modal (#7179)
This commit is contained in:
committed by
michellethomas
parent
f13e0a8d58
commit
03752af4e8
@@ -184,19 +184,21 @@ class ExploreResultsButton extends React.PureComponent {
|
||||
render() {
|
||||
const allowsSubquery = this.props.database && this.props.database.allows_subquery;
|
||||
return (
|
||||
<Button
|
||||
bsSize="small"
|
||||
onClick={this.onClick}
|
||||
disabled={!allowsSubquery}
|
||||
tooltip={t('Explore the result set in the data exploration view')}
|
||||
>
|
||||
<React.Fragment>
|
||||
<Button
|
||||
bsSize="small"
|
||||
onClick={this.onClick}
|
||||
disabled={!allowsSubquery}
|
||||
tooltip={t('Explore the result set in the data exploration view')}
|
||||
>
|
||||
<InfoTooltipWithTrigger icon="line-chart" placement="top" label="explore" /> {t('Explore')}
|
||||
</Button>
|
||||
<Dialog
|
||||
ref={(el) => {
|
||||
this.dialog = el;
|
||||
}}
|
||||
/>
|
||||
<InfoTooltipWithTrigger icon="line-chart" placement="top" label="explore" /> {t('Explore')}
|
||||
</Button>
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user