Skip to content

Commit

Permalink
making same change for PageNewsDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 23, 2024
1 parent 400a6db commit d34fb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/src/templates/PageNewsDetail/PageNewsDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ export default defineComponent({
return false
} else if (
this.data?.heroPosition === 'inline' ||
this.data?.hero[0].blockType === 'CarouselBlock'
// TODO: should this match PageEduResourceArticle and also check for VideoEmbedBlock?
this.data?.hero[0].blockType === 'CarouselBlock' ||
this.data?.hero[0].blockType === 'VideoEmbedBlock'
) {
return true
}
Expand Down

0 comments on commit d34fb8d

Please sign in to comment.