From 786f3ea3215269fd836d5f75830a3d26c55af28e Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 25 Jun 2025 15:46:59 +0200 Subject: [PATCH] fix(quick actions): quote label when it contains spaces (#1013) fix(frontend): quote label search with spaces --- frontend/src/components/quick-actions/QuickActions.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/quick-actions/QuickActions.vue b/frontend/src/components/quick-actions/QuickActions.vue index ccaf7cef5..710faa178 100644 --- a/frontend/src/components/quick-actions/QuickActions.vue +++ b/frontend/src/components/quick-actions/QuickActions.vue @@ -484,7 +484,11 @@ async function doAction(type: ACTION_TYPE, item: DoAction) { searchInput.value?.focus() break case ACTION_TYPE.LABELS: - query.value = '*' + item.title + if (/\s/.test(item.title)) { + query.value = '*"' + item.title + '"' + } else { + query.value = '*' + item.title + } searchInput.value?.focus() searchTasks() break