diff --git a/src/components/JournalView/JournalOptions.vue b/src/components/JournalView/JournalOptions.vue index ac4c5f5..cabc030 100644 --- a/src/components/JournalView/JournalOptions.vue +++ b/src/components/JournalView/JournalOptions.vue @@ -188,14 +188,14 @@ export default defineComponent({ if (!value || value == '') return; if (value.length < 3) return; - this.startSearchTimeout('driver', value); + if (this.showOptions) this.startSearchTimeout('driver', value); }, async 'searchersValues.search-dispatcher'(value: string | undefined) { if (!value || value == '') return; if (value.length < 3) return; - this.startSearchTimeout('dispatcher', value); + if (this.showOptions) this.startSearchTimeout('dispatcher', value); } }, @@ -283,7 +283,6 @@ export default defineComponent({ }, searchConfirm() { - this.$emit('onSearchConfirm'); this.handleRouteParams(); }, diff --git a/src/views/JournalDispatchers.vue b/src/views/JournalDispatchers.vue index eece977..5ccee85 100644 --- a/src/views/JournalDispatchers.vue +++ b/src/views/JournalDispatchers.vue @@ -272,7 +272,7 @@ export default defineComponent({ this.scrollDataLoaded = true; }, - async fetchHistoryData() { + async fetchHistoryData() { const queryParams: DispatchersQueryParams = {}; const dispatcherName = this.searchersValues['search-dispatcher'].trim() || undefined;