chore: remove courseSlug from URL
This commit is contained in:
parent
076bb25e99
commit
ed4f9714d4
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue