fix(CommandPalette): reactivity issue + improve results

Resolves #95, resolves #96
This commit is contained in:
Benjamin Canac
2022-10-24 15:58:15 +02:00
parent 72dc0d0d0c
commit ec9f67094a
3 changed files with 37 additions and 37 deletions

View File

@@ -1,4 +1,3 @@
import type { Ref, ComputedRef } from 'vue'
import type { UseFuseOptions } from '@vueuse/integrations/useFuse'
import type { Avatar } from './avatar'
@@ -19,6 +18,5 @@ export interface Group {
active?: string
inactive?: string
commands: Command[]
customQuery?: (query: Ref<string>) => ComputedRef<string>
options?: Partial<UseFuseOptions<Command>>
}