Ver Fonte

update tasks after update current task

Petr há 4 anos atrás
pai
commit
b495e7edae
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {