We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af60997 commit 4a6c6ebCopy full SHA for 4a6c6eb
src/renderer/components/tasks/Tasks.vue
@@ -11,7 +11,7 @@ import { APP_DEFAULTS } from '~/services/store/constants'
11
import * as ContextMenu from '@/components/ui/shadcn/context-menu'
12
import * as Dialog from '@/components/ui/shadcn/dialog'
13
14
-const { store } = window.electron
+const { store, tray } = window.electron
15
16
const {
17
getTasks,
@@ -81,8 +81,10 @@ function onAddTask() {
81
}
82
83
function onDelete() {
84
- if (editTaskId.value === currentTaskId.value)
+ if (editTaskId.value === currentTaskId.value) {
85
stop()
86
+ tray.stopTimer()
87
+ }
88
89
isConfirmOpen.value = false
90
deleteTask(editTaskId.value)
0 commit comments