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">
<template #header>
<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"
>
<img
@ -13,7 +13,7 @@
</template>
<template #title>
<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"
>
<span v-if="session">

Loading…
Cancel
Save