diff --git a/packages/vue/src/components/SearchResultsList/SearchResultsList.vue b/packages/vue/src/components/SearchResultsList/SearchResultsList.vue index 19dd6afa..5d39d138 100644 --- a/packages/vue/src/components/SearchResultsList/SearchResultsList.vue +++ b/packages/vue/src/components/SearchResultsList/SearchResultsList.vue @@ -166,7 +166,10 @@ export default defineComponent({ } else if (handle.startsWith('edu_resources')) { date = null primarySubject = page._source[handle + '__primary_subject'] as PrimarySubjectObject - if (page._source[handle + '__grade_levels']) { + if ( + page._source[handle + '__grade_levels'] && + handle !== 'edu_resources_edustudentprojectpage' + ) { gradeLevels = [] as GradeLevelsObject[] // @ts-expect-error page._source[handle + '__grade_levels'].forEach((level) => { diff --git a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue index 85d69cfd..34ba228e 100644 --- a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue +++ b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue @@ -274,14 +274,13 @@ const consolidatedSections = computed((): EduLessonSectionObject[] => { :image="data.thumbnailImage?.original" />
Find out what’s involved for students: View the Project Steps @@ -293,7 +292,7 @@ const consolidatedSections = computed((): EduLessonSectionObject[] => { :class="{ 'mb-10 lg:mb-14': heroInline || data?.hero?.length === 0 }" :primary-subject="data.primarySubject" :additional-subjects="data.additionalSubjects" - :time="data.time" + :time="data.customTime ? { time: data.customTime } : data.time" :grade-levels="data.gradeLevels" :standards="data.standards" :negative-bottom="heroInline || data?.hero?.length !== 0" diff --git a/packages/vue/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue b/packages/vue/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue index 28b8accf..fe9bf558 100644 --- a/packages/vue/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue +++ b/packages/vue/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue @@ -286,7 +286,7 @@ const consolidatedSections = computed((): EduStudentProjectSectionObject[] => { :class="{ 'mb-10 lg:mb-14': true }" :primary-subject="data.primarySubject" :additional-subjects="data.additionalSubjects" - :time="data.time" + :time="data.customTime ? { time: data.customTime } : data.time" :standards="data.standards" :negative-top="heroInline || data?.hero?.length !== 0" >