diff --git a/client/src/pages/learningPath/circlePage/LearningSequence.vue b/client/src/pages/learningPath/circlePage/LearningSequence.vue index 6dc9ad0d..f05fb3a8 100644 --- a/client/src/pages/learningPath/circlePage/LearningSequence.vue +++ b/client/src/pages/learningPath/circlePage/LearningSequence.vue @@ -173,7 +173,7 @@ const learningSequenceBorderClass = computed(() => {
diff --git a/client/src/pages/learningPath/learningContentPage/LearningContentParent.vue b/client/src/pages/learningPath/learningContentPage/LearningContentParent.vue index ad4e91ba..db815cb4 100644 --- a/client/src/pages/learningPath/learningContentPage/LearningContentParent.vue +++ b/client/src/pages/learningPath/learningContentPage/LearningContentParent.vue @@ -38,7 +38,7 @@ const COMPONENTS: Record = { const DEFAULT_BLOCK = DescriptionBlock; const component = computed(() => { - return COMPONENTS[props.learningContent.type] || DEFAULT_BLOCK; + return COMPONENTS[props.learningContent.content_type] || DEFAULT_BLOCK; }); function handleFinishedLearningContent() { diff --git a/client/src/pages/learningPath/learningContentPage/assignment/AssignmentView.vue b/client/src/pages/learningPath/learningContentPage/assignment/AssignmentView.vue index 543e2d31..59e40327 100644 --- a/client/src/pages/learningPath/learningContentPage/assignment/AssignmentView.vue +++ b/client/src/pages/learningPath/learningContentPage/assignment/AssignmentView.vue @@ -145,7 +145,7 @@ const assignmentUser = computed(() => { :current-step="stepIndex" :subtitle="state.assignment?.title ?? ''" :title="getTitle()" - :learning-content-type="props.learningContent.type" + :learning-content-type="props.learningContent.content_type" :steps-count="numPages" :show-next-button="showNextButton && stepIndex !== 0" :show-exit-button="showExitButton" diff --git a/client/src/pages/learningPath/learningContentPage/blocks/AttendanceDayBlock.vue b/client/src/pages/learningPath/learningContentPage/blocks/AttendanceDayBlock.vue index e96d82fc..00d18e95 100644 --- a/client/src/pages/learningPath/learningContentPage/blocks/AttendanceDayBlock.vue +++ b/client/src/pages/learningPath/learningContentPage/blocks/AttendanceDayBlock.vue @@ -19,7 +19,7 @@ const courseSessionAttendanceDay = computed(() => {