Explorar o código

update tasks after update current task

Petr %!s(int64=4) %!d(string=hai) anos
pai
achega
b495e7edae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {