Browse Source

task saving: added missing await

mj-deploy
Vašek Šraier 4 years ago
parent
commit
47c522fb3f
  1. 2
      frontend/src/task-loader.ts

2
frontend/src/task-loader.ts

@ -29,7 +29,7 @@ export async function saveTasks(tasks: TasksFile) {
}
}
fetch("/tasks.json", options)
await fetch("/tasks.json", options)
}
export function createTaskMap(tasks: TasksFile): TaskMap {