mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[sqllab] making 'click to retrieve results' a button (#1737)
This commit is contained in:
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>);
|
||||
|
Loading…
Reference in New Issue
Block a user