diff --git a/web/src/plugins/logs/IndexList.vue b/web/src/plugins/logs/IndexList.vue index 4a1e82447b..397e3b0d37 100644 --- a/web/src/plugins/logs/IndexList.vue +++ b/web/src/plugins/logs/IndexList.vue @@ -208,7 +208,7 @@ export default defineComponent({ //we will also us the quasar's updateInputValue method to clear the input value this.$nextTick(() => { const indexListSelectField = this.$refs.streamSelect; - if (indexListSelectField && indexListSelectField.updateInputValue) { + if (indexListSelectField && indexListSelectField.inputValue && indexListSelectField.updateInputValue) { indexListSelectField.updateInputValue(""); } }); @@ -225,7 +225,7 @@ export default defineComponent({ //we will also us the quasar's updateInputValue method to clear the input value this.$nextTick(() => { const indexListSelectField = this.$refs.streamSelect; - if (indexListSelectField && indexListSelectField.updateInputValue) { + if (indexListSelectField && indexListSelectField.inputValue && indexListSelectField.updateInputValue) { indexListSelectField.updateInputValue(""); } });