aboutsummaryrefslogtreecommitdiff
path: root/src/components/SearchBar.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-12-21 00:03:31 +0100
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-12-21 00:03:31 +0100
commitbfc2e24bbfc08f67ed9c9b1d93474029bc01dc8b (patch)
tree8f75ac20d6157d5ae331217494d1edc0ee8b8102 /src/components/SearchBar.vue
parent40872859a580a20bb838b79db2b3c88c00995e37 (diff)
downloadit-tools-bfc2e24bbfc08f67ed9c9b1d93474029bc01dc8b.tar.gz
it-tools-bfc2e24bbfc08f67ed9c9b1d93474029bc01dc8b.tar.zst
it-tools-bfc2e24bbfc08f67ed9c9b1d93474029bc01dc8b.zip
feat(tracker): added actions monitoring
Diffstat (limited to '')
-rw-r--r--src/components/SearchBar.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue
index 22842a4..a93f46a 100644
--- a/src/components/SearchBar.vue
+++ b/src/components/SearchBar.vue
@@ -61,6 +61,7 @@ function renderOption({ tool }: { tool: Tool }) {
:render-label="renderOption"
:default-value="'aa'"
:get-show="() => true"
+ :on-focus="() => $tracker.trackEvent({ eventName: 'Search-bar focused' })"
>
<template #default="{ handleInput, handleBlur, handleFocus, value: slotValue }">
<n-input