fix PRODUCT-67916 Click OK button cannot close error message modal (#7179)

This commit is contained in:
Hannah Squier 2019-04-01 10:00:22 -07:00 committed by michellethomas
parent f13e0a8d58
commit 03752af4e8
1 changed files with 10 additions and 8 deletions

View File

@ -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>
);
}
}