Fixed new task field not being reset after adding a new task

This commit is contained in:
konrad 2019-05-21 19:28:52 +02:00
parent c0a8ec7bec
commit 160fb1ff12
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -139,6 +139,7 @@
this.taskService.create(task)
.then(r => {
this.list.addTaskToList(r)
this.newTaskText = ''
message.success({message: 'The task was successfully created.'}, this)
})
.catch(e => {