Fix bug with activity links to submissions

Resolves MS-817 #complete
This commit is contained in:
Ramon Wenger 2023-10-09 16:30:48 +02:00
parent 74991704c2
commit f7546a68f4
2 changed files with 2 additions and 4 deletions

View File

@ -18,9 +18,7 @@
<script>
import { defineAsyncComponent } from 'vue';
const ChevronRight = defineAsyncComponent(() =>
import('@/components/icons/ChevronRight.vue')
);
const ChevronRight = defineAsyncComponent(() => import('@/components/icons/ChevronRight.vue'));
export default {
props: ['title'],

View File

@ -14,7 +14,7 @@
class="module-activity__entry"
v-for="submission in submissions"
:key="submission.id"
@link="goTo(submission.assignment.id)"
@link="goTo('module', module.slug)"
>
{{ submission.text }}
</activity-entry>