Show nothing for match all query (#14644)

This commit is contained in:
Lukas Olson 2017-11-21 15:53:39 -07:00
parent 1340c041f0
commit 92bad847b5

View file

@ -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);
}