Skip to content

Commit

Permalink
fix: lint errors and image obj use
Browse files Browse the repository at this point in the history
  • Loading branch information
pghorpade committed Sep 17, 2024
1 parent 4051bba commit edf011c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/eventSeriesDetailPage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ describe('Event Series Detail page', () => {
it('Visit the Homepage', () => {
cy.visit('/series/step-up-series')

cy.percySnapshot('eventseriesdetailpage',{ widths: [768, 992, 1200] })
cy.percySnapshot('eventseriesdetailpage', { widths: [768, 992, 1200] })
})
})
2 changes: 1 addition & 1 deletion pages/series/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const parsedOtherSeries = computed(() => {
endDate: item.endDate ? item.endDate : null,
ongoing: item.ongoing,
sectionHandle: item.sectionHandle, // 'ftvaEventSeries'
image: item.ftvaImage[0],
image: item.ftvaImage && item.ftvaImage.length > 0 ? item.ftvaImage[0] : null,
}
})
return otherSeries
Expand Down

0 comments on commit edf011c

Please sign in to comment.