Skip to content

Commit

Permalink
Show nothing for match all query (#14644)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Nov 21, 2017
1 parent 2ea45b8 commit 48e648b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/public/parse_query/lib/to_user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import angular from 'angular';
export function toUser(text) {
if (text == null) return '';
if (_.isObject(text)) {
if (text.match_all) return '';
if (text.query_string) return toUser(text.query_string.query);
return angular.toJson(text);
}
Expand Down

0 comments on commit 48e648b

Please sign in to comment.