Skip to content

Commit

Permalink
[sqllab] making 'click to retrieve results' a button (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Dec 4, 2016
1 parent a3106bc commit c4e943a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions superset/assets/javascripts/SqlLab/components/ResultSet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down

0 comments on commit c4e943a

Please sign in to comment.