chore: remove courseSlug from URL

This commit is contained in:
Reto Aebersold 2023-10-27 11:25:14 +02:00
parent 076bb25e99
commit ed4f9714d4
2 changed files with 2 additions and 5 deletions

View File

@ -54,10 +54,7 @@ const statistics = computed(() => {
</i18next> </i18next>
</div> </div>
<ItProgress></ItProgress> <ItProgress></ItProgress>
<router-link <router-link class="pt-8 underline" to="/statistic/attendance">
class="pt-8 underline"
:to="`/statistic/${dashboardStore?.currentDashboardConfig?.slug}/attendance`"
>
{{ $t("a.Details anschauen") }} {{ $t("a.Details anschauen") }}
</router-link> </router-link>
</div> </div>

View File

@ -174,7 +174,7 @@ const router = createRouter({
], ],
}, },
{ {
path: "/statistic/:courseSlug", path: "/statistic",
props: true, props: true,
component: () => import("@/pages/dashboard/statistic/StatisticParentPage.vue"), component: () => import("@/pages/dashboard/statistic/StatisticParentPage.vue"),
children: [ children: [