♻️ Refactor frontend code

This commit is contained in:
2022-08-21 23:10:21 +02:00
parent 9e9cf8618d
commit 1439bfb056
8 changed files with 37 additions and 21 deletions

View File

@ -110,10 +110,10 @@ export async function fetchData() {
const checkResponse = await fetch(`${baseUrl}/check`);
if (checkResponse.status != 200) router.push("/login");
fetchClassList();
fetchTimetable();
fetchSubstitutions();
fetchHistory();
await fetchClassList();
await fetchTimetable();
await fetchSubstitutions();
await fetchHistory();
loading.value = false;
}