Skip to content

Commit

Permalink
remove default false
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Nov 22, 2024
1 parent bfe40ae commit dfb02a7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib-components/BlockStaffArticleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@ const props = defineProps({
},
startDate: {
type: String,
required: false,
},
endDate: {
type: String,
required: false,
},
ongoing: {
type: Boolean,
default: false,
},
})
Expand Down Expand Up @@ -101,7 +98,7 @@ const parsedTextAll = computed(() => {
// Display date based on which data is provided
const parsedDateDisplay = computed(() => {
if (props.ongoing === true)
if (props.ongoing)
return 'Ongoing'
else if (props.endDate)
return formatSeriesDates(props.startDate, props.endDate, 'shortWithYear')
Expand Down

0 comments on commit dfb02a7

Please sign in to comment.