Fix some vue router warnings

pull/4773/head
Daniel Gayoso González 1 year ago
parent c1ca7a7ac0
commit 2f96731d73
  1. 4
      assets/vue/components/course/CourseCard.vue

@ -2,7 +2,7 @@
<Card class="course-card"> <Card class="course-card">
<template #header> <template #header>
<router-link <router-link
:to="{ name: 'CourseHome', params: {id: course._id, course: course}, query: { sid: sessionId } }" :to="{ name: 'CourseHome', params: {id: course._id}, query: { sid: sessionId } }"
class="course-card__home-link" class="course-card__home-link"
> >
<img <img
@ -13,7 +13,7 @@
</template> </template>
<template #title> <template #title>
<router-link <router-link
:to="{ name: 'CourseHome', params: {id: course._id, course: course}, query: { sid: sessionId } }" :to="{ name: 'CourseHome', params: {id: course._id}, query: { sid: sessionId } }"
class="course-card__home-link" class="course-card__home-link"
> >
<span v-if="session"> <span v-if="session">

Loading…
Cancel
Save