From 1256c37b69b3b0c1f12ccb858f8e98fdaff431a0 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 26 Feb 2022 12:57:59 +0100 Subject: [PATCH] fix: removing a label from a task --- src/components/tasks/partials/editLabels.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tasks/partials/editLabels.vue b/src/components/tasks/partials/editLabels.vue index f2d01934..93ed147c 100644 --- a/src/components/tasks/partials/editLabels.vue +++ b/src/components/tasks/partials/editLabels.vue @@ -114,7 +114,7 @@ export default { }, async removeLabel(label) { - if (!this.taskId === 0) { + if (this.taskId !== 0) { await this.$store.dispatch('tasks/removeLabel', {label: label, taskId: this.taskId}) }