diff --git a/packages/vue/src/components/MetaPanel/MetaPanel.vue b/packages/vue/src/components/MetaPanel/MetaPanel.vue index fa95b377..e9f2a694 100644 --- a/packages/vue/src/components/MetaPanel/MetaPanel.vue +++ b/packages/vue/src/components/MetaPanel/MetaPanel.vue @@ -84,7 +84,7 @@ interface SortedStandards { const sortedStandards = computed((): SortedStandards | undefined => { if (standards) { const sorted = standards.reduce((acc, item) => { - const type = item.standard.type + const type = item.standard?.type // Initialize array for type if it doesn't exist if (!acc[type]) { acc[type] = [] @@ -164,61 +164,66 @@ const standardsIste = computed(() => {
-
+
+
+ +
- Standards - . -
-
-
-
- English Language Arts Standards (CCSS - ELA) -
+
+ Standards . -
-
-
- Math Standards (CCSS - Math) +
+
+
+ English Language Arts Standards (CCSS - ELA) +
+ . +
- . - -
-
-
- Science Standards (NGSS) +
+
+ Math Standards (CCSS - Math) +
+ . +
- . - -
-
-
- Technology Standards (ISTE) +
+
+ Science Standards (NGSS) +
+ . + +
+
+
+ Technology Standards (ISTE) +
+ . +
- . -
diff --git a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.stories.js b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.stories.js index 12acb3bc..8fd29206 100644 --- a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.stories.js +++ b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.stories.js @@ -62,7 +62,7 @@ export const BaseStory = { studentProject: { title: 'Student Project', - urlPath: '/path-to-student-project' + url: '/path-to-student-project' }, primarySubject: { diff --git a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue index 4be729d7..85d69cfd 100644 --- a/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue +++ b/packages/vue/src/templates/edu/PageEduLesson/PageEduLesson.vue @@ -38,7 +38,7 @@ interface PageEduLessonObject extends PageEduResourcesObject { [key: string]: any studentProject: { title: string - urlPath: string + url: string } overview: StreamfieldBlockData[] overviewHeading: string @@ -273,7 +273,7 @@ const consolidatedSections = computed((): EduLessonSectionObject[] => { :title="data.title" :image="data.thumbnailImage?.original" /> -

@@ -281,11 +281,11 @@ const consolidatedSections = computed((): EduLessonSectionObject[] => { View the Project Steps -

+
(), { }) const { heading, blocks, image, procedures, text } = reactive(props) - -const anchorId = computed(() => { - return 'lesson_' + camelCase(heading?.heading) -})