diff --git a/frontend/src/components/Assessments.vue b/frontend/src/components/Assessments.vue index bfe429e6..55c849dd 100644 --- a/frontend/src/components/Assessments.vue +++ b/frontend/src/components/Assessments.vue @@ -160,7 +160,7 @@ const getRowRoute = (row) => { } } else { return { - name: 'Quiz', + name: 'QuizPage', params: { quizID: row.assessment_name, }, diff --git a/frontend/src/components/LessonContent.vue b/frontend/src/components/LessonContent.vue index f98f0289..39957f3a 100644 --- a/frontend/src/components/LessonContent.vue +++ b/frontend/src/components/LessonContent.vue @@ -37,7 +37,7 @@ diff --git a/frontend/src/utils/upload.js b/frontend/src/utils/upload.js index 3ceb5ec8..c54cfae4 100644 --- a/frontend/src/utils/upload.js +++ b/frontend/src/utils/upload.js @@ -56,9 +56,11 @@ export class Upload { app.mount(this.wrapper) return } else if (file.file_type == 'PDF') { - this.wrapper.innerHTML = `` + )}&embedded=true" width='100%' height='700px' class="mb-4" type="application/pdf">` return } else { this.wrapper.innerHTML = `