diff --git a/src/main/resources/html/teacher/dashboard.html b/src/main/resources/html/teacher/dashboard.html index f53faab..abcea08 100644 --- a/src/main/resources/html/teacher/dashboard.html +++ b/src/main/resources/html/teacher/dashboard.html @@ -6,4 +6,5 @@

Willkommen, Lehrer

%[class_info] %[subject_info] %[room_info] - \ No newline at end of file + + \ No newline at end of file diff --git a/src/main/resources/js/teacher/build_dashboard.js b/src/main/resources/js/teacher/build_dashboard.js index 6a84555..bcbda43 100644 --- a/src/main/resources/js/teacher/build_dashboard.js +++ b/src/main/resources/js/teacher/build_dashboard.js @@ -1,3 +1,3 @@ document.addEventListener('DOMContentLoaded', async () => { - buildTeacherDashboard(fetchTeacherClasses(teacherId), fetchSubjects(teacherId)); + buildTeacherDashboard(await fetchMyClasses(), await fetchMySubjects()); }); \ No newline at end of file