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}) }