Fix bug with activity links to submissions
Resolves MS-817 #complete
This commit is contained in:
parent
74991704c2
commit
f7546a68f4
|
|
@ -18,9 +18,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineAsyncComponent } from 'vue';
|
import { defineAsyncComponent } from 'vue';
|
||||||
const ChevronRight = defineAsyncComponent(() =>
|
const ChevronRight = defineAsyncComponent(() => import('@/components/icons/ChevronRight.vue'));
|
||||||
import('@/components/icons/ChevronRight.vue')
|
|
||||||
);
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['title'],
|
props: ['title'],
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
class="module-activity__entry"
|
class="module-activity__entry"
|
||||||
v-for="submission in submissions"
|
v-for="submission in submissions"
|
||||||
:key="submission.id"
|
:key="submission.id"
|
||||||
@link="goTo(submission.assignment.id)"
|
@link="goTo('module', module.slug)"
|
||||||
>
|
>
|
||||||
{{ submission.text }}
|
{{ submission.text }}
|
||||||
</activity-entry>
|
</activity-entry>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue