diff --git a/src/components/tasks/add-task.vue b/src/components/tasks/add-task.vue
index 2a4b2e3e..ef45ca88 100644
--- a/src/components/tasks/add-task.vue
+++ b/src/components/tasks/add-task.vue
@@ -200,7 +200,7 @@ function handleEnter(e: KeyboardEvent) {
}
function focusTaskInput() {
- newTaskInput.value.focus()
+ newTaskInput.value?.focus()
}
defineExpose({
diff --git a/src/components/tasks/partials/editLabels.vue b/src/components/tasks/partials/editLabels.vue
index bc218519..0e285822 100644
--- a/src/components/tasks/partials/editLabels.vue
+++ b/src/components/tasks/partials/editLabels.vue
@@ -117,7 +117,7 @@ async function removeLabel(label: LabelModel) {
for (const l in labels.value) {
if (labels.value[l].id === label.id) {
- labels.value.splice(l, 1)
+ labels.value.splice(l, 1) // FIXME: l should be index
}
}
emit('update:modelValue', labels.value)
diff --git a/src/components/tasks/partials/listSearch.vue b/src/components/tasks/partials/listSearch.vue
index 58c15643..df53679f 100644
--- a/src/components/tasks/partials/listSearch.vue
+++ b/src/components/tasks/partials/listSearch.vue
@@ -1,5 +1,5 @@
- {{ namespace(props.option.namespaceId) }} >
{{ props.option.title }}
-
+