Merge remote-tracking branch 'origin/develop' into feat/scorm-progress

This commit is contained in:
Fahid Latheef Alungal
2025-09-07 02:00:32 +05:30
451 changed files with 155495 additions and 39845 deletions

View File

@@ -42,11 +42,13 @@ import {
createDocumentResource,
createListResource,
createResource,
usePageMeta,
} from 'frappe-ui'
import { computed, inject, onBeforeMount, ref } from 'vue'
import { useSidebar } from '@/stores/sidebar'
import { updateDocumentTitle } from '@/utils'
import { sessionStore } from '../stores/session'
const { brand } = sessionStore()
const sidebarStore = useSidebar()
const user = inject('$user')
const readyToRender = ref(false)
@@ -222,14 +224,10 @@ const breadcrumbs = computed(() => {
]
})
const pageMeta = computed(() => {
usePageMeta(() => {
return {
title: chapter?.doc?.title,
description: __('This is a chapter in the course {0}').format(
chapter?.doc?.course_title
),
title: chapter.doc?.title,
icon: brand.favicon,
}
})
updateDocumentTitle(pageMeta)
</script>