From 72053dbf5604a534c20679481d8d51290710a777 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 27 Jun 2024 21:20:14 +0530 Subject: [PATCH] fix: corrected workspace links --- frontend/src/pages/CreateLesson.vue | 12 ++++++++++-- lms/lms/workspace/lms/lms.json | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/CreateLesson.vue b/frontend/src/pages/CreateLesson.vue index 42c9fe85..f5c9d12c 100644 --- a/frontend/src/pages/CreateLesson.vue +++ b/frontend/src/pages/CreateLesson.vue @@ -72,10 +72,9 @@ import { Breadcrumbs, FormControl, createResource, Button } from 'frappe-ui' import { computed, reactive, onMounted, inject, ref, watch } from 'vue' import EditorJS from '@editorjs/editorjs' -import { createToast } from '../utils' import LessonPlugins from '@/components/LessonPlugins.vue' -import { getEditorTools } from '../utils' import { ChevronRight } from 'lucide-vue-next' +import { updateDocumentTitle, createToast, getEditorTools } from '@/utils' const editor = ref(null) const instructorEditor = ref(null) @@ -429,6 +428,15 @@ const breadcrumbs = computed(() => { }) return crumbs }) + +const pageMeta = computed(() => { + return { + title: 'Lesson Editor', + description: 'Create and edit lessons for your course', + } +}) + +updateDocumentTitle(pageMeta)