Skip to content

Commit 92f71da

Browse files
committed
docs: add query in search event
1 parent dd4451e commit 92f71da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ provide('navigation', navigation)
3838
3939
watch(() => search.value?.commandPaletteRef?.query, debounce((query) => {
4040
if (!query) return
41-
useTrackEvent('Search', { props: { results: `${search.value?.commandPaletteRef.results.length}` } })
41+
useTrackEvent('Search', { props: { query, results: `${search.value?.commandPaletteRef.results.length}` } })
4242
}, 500))
4343
</script>
4444

0 commit comments

Comments
 (0)