Skip to content

Commit

Permalink
revert parsedDateDisplay change to check ftva
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Nov 22, 2024
1 parent 7f23d58 commit 1d6212a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib-components/BlockStaffArticleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ const parsedTextAll = computed(() => {
const parsedDateDisplay = computed(() => {
if (props.ongoing)
return 'Ongoing'
else if (props.startDate)
else if (props.endDate)
return formatSeriesDates(props.startDate, props.endDate, 'shortWithYear')
else if (props.startDate)
return formatSeriesDates(props.startDate, props.startDate)
else
return null
})
Expand Down

0 comments on commit 1d6212a

Please sign in to comment.