fix: removing a label from a task

This commit is contained in:
kolaente 2022-02-26 12:57:59 +01:00
parent 9a55482681
commit 1256c37b69
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -114,7 +114,7 @@ export default {
}, },
async removeLabel(label) { async removeLabel(label) {
if (!this.taskId === 0) { if (this.taskId !== 0) {
await this.$store.dispatch('tasks/removeLabel', {label: label, taskId: this.taskId}) await this.$store.dispatch('tasks/removeLabel', {label: label, taskId: this.taskId})
} }