From c622a76f3a348b03f886a098fe3f284206348084 Mon Sep 17 00:00:00 2001 From: Ran Byron Date: Mon, 16 Sep 2019 07:15:38 +0300 Subject: [PATCH] Bug fix: Query view doesn't sync parameters when selecting and deleting (#4146) --- client/app/services/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/services/query.js b/client/app/services/query.js index c194f2782a..b892e116b7 100644 --- a/client/app/services/query.js +++ b/client/app/services/query.js @@ -424,7 +424,7 @@ class Parameters { const fallback = () => map(this.query.options.parameters, i => i.name); let parameters = []; - if (this.query.query) { + if (this.query.query !== undefined) { try { const parts = Mustache.parse(this.query.query); parameters = uniq(collectParams(parts));