diff --git a/backend/src/controllers/students.ts b/backend/src/controllers/students.ts index 5190c1d6..8ce5b11a 100644 --- a/backend/src/controllers/students.ts +++ b/backend/src/controllers/students.ts @@ -60,7 +60,7 @@ export async function createStudentHandler(req: Request, res: Response) { if (!newUser) { res.status(500).json({ - error: 'Something went wrong while creating student' + error: 'Something went wrong while creating student', }); return; } diff --git a/backend/src/entities/classes/class-join-request.entity.ts b/backend/src/entities/classes/class-join-request.entity.ts index 64a597bb..fdf13aa9 100644 --- a/backend/src/entities/classes/class-join-request.entity.ts +++ b/backend/src/entities/classes/class-join-request.entity.ts @@ -27,4 +27,4 @@ export class ClassJoinRequest { @Enum(() => ClassJoinRequestStatus) status!: ClassJoinRequestStatus; -} \ No newline at end of file +} diff --git a/backend/src/services/learning-objects.ts b/backend/src/services/learning-objects.ts index 85141b1d..faa77cb4 100644 --- a/backend/src/services/learning-objects.ts +++ b/backend/src/services/learning-objects.ts @@ -92,4 +92,3 @@ export async function getLearningObjectsFromPath(hruid: string, language: string export async function getLearningObjectIdsFromPath(hruid: string, language: string): Promise { return (await fetchLearningObjects(hruid, false, language)) as string[]; } - diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d355c43d..d37d117d 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,10 +1,26 @@ diff --git a/frontend/src/components/MenuBar.vue b/frontend/src/components/MenuBar.vue index e5a2cca8..50c2eabe 100644 --- a/frontend/src/components/MenuBar.vue +++ b/frontend/src/components/MenuBar.vue @@ -31,79 +31,95 @@ localStorage.setItem("user-lang", langCode); }; - // contains functionality to let the collapsed menu appear and disappear - // when the screen size varies + // Contains functionality to let the collapsed menu appear and disappear + // When the screen size varies const drawer = ref(false); - // when the user wants to logout, a popup is shown to verify this - // if verified, the user should be logged out + // When the user wants to logout, a popup is shown to verify this + // If verified, the user should be logged out const performLogout = () => { auth.logout(); }; - - - - - {{ t("assignments") }} - - + + + {{ initials }} + + + + + {{ t("assignments") }} + - - - -
  • - {{ initials }} -
  • - - - - + + {{ t("discussions") }} + +
    +