Skip to content

Commit 9737535

Browse files
committed
chore: update track
1 parent 17be9e4 commit 9737535

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/renderer/components/snippets/SnippetListItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ const onClickContextMenu = async () => {
222222
223223
await snippetStore.getSnippets()
224224
snippetStore.setSnippetsByAlias('trash')
225+
track('snippets/restore-from-trash')
225226
}
226227
227228
isHighlighted.value = false

src/shared/types/main/analytics.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type SnippetEvents =
1616
| 'format'
1717
| 'markdown-preview'
1818
| 'move-to-trash'
19+
| 'restore-from-trash'
1920
| 'search'
2021
| 'set-language'
2122

0 commit comments

Comments
 (0)