From 7e1bfffac18ded978955f3df9e42f8b758972d07 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Mon, 22 May 2023 12:57:25 +0200 Subject: [PATCH] Remove fake content --- client/src/locales/de.json | 1 + client/src/pages/DashboardPage.vue | 57 +++--------------------------- 2 files changed, 5 insertions(+), 53 deletions(-) diff --git a/client/src/locales/de.json b/client/src/locales/de.json index b6f0a240..19290013 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -78,6 +78,7 @@ "yes": "Ja" }, "dashboard": { + "courses": "Kurse", "welcome": "Willkommen, {name}" }, "feedback": { diff --git a/client/src/pages/DashboardPage.vue b/client/src/pages/DashboardPage.vue index e7b1f3bf..ebdae959 100644 --- a/client/src/pages/DashboardPage.vue +++ b/client/src/pages/DashboardPage.vue @@ -10,12 +10,6 @@ log.debug("DashboardPage created"); const userStore = useUserStore(); const courseSessionsStore = useCourseSessionsStore(); -function employer() { - return userStore.email.indexOf("eiger-versicherungen.ch") > -1 - ? "Eiger Versicherungen, Niederlassung Bern" - : "VBV"; -} - onMounted(async () => { log.debug("DashboardPage mounted"); }); @@ -32,7 +26,7 @@ onMounted(async () => { v-if="courseSessionsStore.uniqueCourseSessionsByCourse.length > 0" class="mb-14" > -

Kurse

+

{{ $t("dashboard.courses") }}

{
-
+