Browse Source

update tasks after update current task

Petr 4 years ago
parent
commit
b495e7edae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/js/taskForm.js

+ 1 - 1
public/js/taskForm.js

@@ -99,7 +99,7 @@ async function updateTask() {
         }
     )
     if (response.status === 201) {
-        let result = await response.json()
+        await loadNewTaskList();
 
 
     } else if (response.status === 422) {