From d191d88e81decbe9a0171a9cc848879ee9c01659 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 25 Nov 2024 12:19:20 +0100 Subject: [PATCH] refactor: modified button to prevent submit --- src/pages/Zone/Card/ZoneLocationsTree.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Zone/Card/ZoneLocationsTree.vue b/src/pages/Zone/Card/ZoneLocationsTree.vue index cc84b3665..751d8d11d 100644 --- a/src/pages/Zone/Card/ZoneLocationsTree.vue +++ b/src/pages/Zone/Card/ZoneLocationsTree.vue @@ -152,7 +152,7 @@ onUnmounted(() => { v-if="showSearchBar" v-model="store.userParams.search" :placeholder="$t('globals.search')" - @keydown.enter="reFetch" + @keydown.enter.stop.prevent="reFetch" >