From aac38d954dc1c484ae88b816f82784fe540cf3cf Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Fri, 5 Jan 2024 13:01:21 -0800 Subject: [PATCH] fix: fixes broken enter on fuzy dialog (#2658) --- assets/components/FuzzySearchModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/FuzzySearchModal.vue b/assets/components/FuzzySearchModal.vue index 91b0c5c7..008c8549 100644 --- a/assets/components/FuzzySearchModal.vue +++ b/assets/components/FuzzySearchModal.vue @@ -8,7 +8,7 @@ ref="input" @keyup.down="selectedIndex = Math.min(selectedIndex + 1, data.length - 1)" @keyup.up="selectedIndex = Math.max(selectedIndex - 1, 0)" - @keyup.enter.exact="selected(data[selectedIndex])" + @keyup.enter.exact="selected(data[selectedIndex].item)" @keyup.alt.enter="addColumn(data[selectedIndex])" v-model="query" :placeholder="$t('placeholder.search-containers')"