mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
[sqllab] making 'click to retrieve results' a button (#1737)
This commit is contained in:
committed by
GitHub
parent
a3106bcb3d
commit
c4e943a24f
@@ -211,12 +211,13 @@ class ResultSet extends React.PureComponent {
|
||||
}
|
||||
if (query.cached) {
|
||||
return (
|
||||
<a
|
||||
href="#"
|
||||
<Button
|
||||
bsSize="sm"
|
||||
bsStyle="primary"
|
||||
onClick={this.reFetchQueryResults.bind(this, query)}
|
||||
>
|
||||
click to retrieve results
|
||||
</a>
|
||||
Fetch data preview
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
return (<Alert bsStyle="warning">The query returned no data</Alert>);
|
||||
|
||||
Reference in New Issue
Block a user