fix: removing a label from a task
This commit is contained in:
parent
9a55482681
commit
1256c37b69
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue