We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55250d commit 7a0dee8Copy full SHA for 7a0dee8
frontend/src/views/home/components/task-list/index.vue
@@ -1,5 +1,5 @@
1
<script setup lang="ts">
2
- import { ref, watch } from 'vue'
+ import { ref } from 'vue'
3
import {
4
TaskHeader,
5
TaskPicker,
@@ -17,17 +17,6 @@
17
/** Task picker component reference */
18
const pickerRef = ref<InstanceType<typeof TaskPicker> | null>(null)
19
20
- /** Listen to piStore loading completed to initialize the task list */
21
- watch(
22
- () => piStore.isLoaded,
23
- (loaded) => {
24
- if (loaded && taskListStore.taskList.length === 0) {
25
- taskListStore.initFromPi()
26
- }
27
- },
28
- { immediate: true }
29
- )
30
-
31
/** set task checked state */
32
function handleCheckChange(id: string, checked: boolean) {
33
taskListStore.setTaskChecked(id, checked)
0 commit comments