Skip to content

Commit

Permalink
Display no data when async result has zero rows (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
vera-liu authored Jan 27, 2017
1 parent 8580662 commit 4a8cd04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class ResultSet extends React.PureComponent {
</div>
</div>
);
} else if (query.resultsKey) {
} else if (query.resultsKey && !(data && data.length === 0)) {
return (
<div>
<Alert bsStyle="warning">This query was run asynchronously &nbsp;
Expand Down

0 comments on commit 4a8cd04

Please sign in to comment.