diff --git a/resources/js/components/shared/PmqlInput.vue b/resources/js/components/shared/PmqlInput.vue index 82771752c6..27da5985c6 100755 --- a/resources/js/components/shared/PmqlInput.vue +++ b/resources/js/components/shared/PmqlInput.vue @@ -260,8 +260,8 @@ export default { this.calcInputHeight(); }, value() { - if (!this.query || this.query === "") { - this.query = this.value; + if (this.query !== this.value) { + this.query = this.value || ""; } }, },