From ed4f9714d43bfd8ef51ae5b9912362cdd32bf15a Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Fri, 27 Oct 2023 11:25:14 +0200 Subject: [PATCH] chore: remove courseSlug from URL --- client/src/pages/dashboard/StatisticPage.vue | 5 +---- client/src/router/index.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/client/src/pages/dashboard/StatisticPage.vue b/client/src/pages/dashboard/StatisticPage.vue index 4affa1ff..8fe669a3 100644 --- a/client/src/pages/dashboard/StatisticPage.vue +++ b/client/src/pages/dashboard/StatisticPage.vue @@ -54,10 +54,7 @@ const statistics = computed(() => { - + {{ $t("a.Details anschauen") }} diff --git a/client/src/router/index.ts b/client/src/router/index.ts index fcdb6bc9..276b5dfe 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -174,7 +174,7 @@ const router = createRouter({ ], }, { - path: "/statistic/:courseSlug", + path: "/statistic", props: true, component: () => import("@/pages/dashboard/statistic/StatisticParentPage.vue"), children: [