Browse Source

update tasks after update current task

Petr 4 năm trước cách đây
mục cha
commit
b495e7edae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {