From 3df1a86d66942ddf969a3c9f097883f9e9fc8eb1 Mon Sep 17 00:00:00 2001 From: Gabriel Dutra Date: Tue, 14 Apr 2020 05:41:52 -0300 Subject: [PATCH] Fix param added with empty query ignores options (#4736) --- 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 98e672fd05..076dd39f9e 100644 --- a/client/app/services/query.js +++ b/client/app/services/query.js @@ -223,7 +223,7 @@ class Parameters { } updateParameters(update) { - if (this.query.query && this.query.query === this.cachedQueryText) { + if (this.query.query === this.cachedQueryText) { const parameters = this.query.options.parameters; const hasUnprocessedParameters = find(parameters, p => !(p instanceof Parameter)); if (hasUnprocessedParameters) {