Explorar el Código

update tasks after update current task

Petr hace 4 años
padre
commit
b495e7edae
Se han modificado 1 ficheros con 1 adiciones y 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) {