From 8be2963a3954e774f5d307abb1dd7c42e173f1a5 Mon Sep 17 00:00:00 2001 From: Allan Otodi Opeto <103313919+AllanOXDi@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:46:25 +0300 Subject: [PATCH] fixes routes --- .../assets/src/routes/planLessonsRoutes.js | 2 + .../PreviewSelectedResources.vue | 18 +- .../ManageSelectedLessonResource.vue | 179 ++++++++++-------- .../LessonResourceSelectionPage/index.vue | 17 +- .../views/plan/LessonSummaryPage/index.vue | 36 ++++ 5 files changed, 164 insertions(+), 88 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/routes/planLessonsRoutes.js b/kolibri/plugins/coach/assets/src/routes/planLessonsRoutes.js index cb6d90e3e15..78664f7dac0 100644 --- a/kolibri/plugins/coach/assets/src/routes/planLessonsRoutes.js +++ b/kolibri/plugins/coach/assets/src/routes/planLessonsRoutes.js @@ -88,6 +88,8 @@ export default [ }, }, { + + name: PageNames.LESSON_SELECT_RESOURCES, path: 'select-resources/:topicId?', component: LessonResourceSelection, diff --git a/kolibri/plugins/coach/assets/src/views/plan/LessonContentPreviewPage/PreviewSelectedResources.vue b/kolibri/plugins/coach/assets/src/views/plan/LessonContentPreviewPage/PreviewSelectedResources.vue index 4d69ff11eea..971988f297b 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/LessonContentPreviewPage/PreviewSelectedResources.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/LessonContentPreviewPage/PreviewSelectedResources.vue @@ -1,16 +1,28 @@ diff --git a/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ManageSelectedLessonResource.vue b/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ManageSelectedLessonResource.vue index 74fe1b99e85..2af5a263739 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ManageSelectedLessonResource.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ManageSelectedLessonResource.vue @@ -1,93 +1,82 @@