From 0d35b82ecb3c2abd04aa2ec9577e609a6e1b99a9 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 20 Feb 2023 18:05:52 +0100 Subject: [PATCH] chore(CommandPalette): expose query --- src/runtime/components/navigation/CommandPalette.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index cf1bbc91..04c60c4c 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -255,6 +255,7 @@ function onClear () { } defineExpose({ + query, updateQuery: (q: string) => { query.value = q },