Don't reset task relation kind after adding a task relation

This commit is contained in:
kolaente 2020-10-24 14:37:30 +02:00
parent f5e6965e3d
commit 5e046fbd06
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -187,7 +187,6 @@ export default {
this.$set(this.relatedTasks, this.newTaskRelationKind, []) this.$set(this.relatedTasks, this.newTaskRelationKind, [])
} }
this.relatedTasks[this.newTaskRelationKind].push(this.newTaskRelationTask) this.relatedTasks[this.newTaskRelationKind].push(this.newTaskRelationTask)
this.newTaskRelationKind = 'unset'
this.newTaskRelationTask = new TaskModel() this.newTaskRelationTask = new TaskModel()
}) })
.catch(e => { .catch(e => {