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>
</div>
<ItProgress></ItProgress>
<router-link
class="pt-8 underline"
:to="`/statistic/${dashboardStore?.currentDashboardConfig?.slug}/attendance`"
>
<router-link class="pt-8 underline" to="/statistic/attendance">
{{ $t("a.Details anschauen") }}
</router-link>
</div>

View File

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