Skip to content

Commit

Permalink
Fix param added with empty query ignores options (#4736)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra authored Apr 14, 2020
1 parent bad1294 commit 3df1a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/services/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3df1a86

Please sign in to comment.