Fixed new task field not being reset after adding a new task
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user