Fix property reading

This commit is contained in:
Vencislav Atanasov 2024-09-23 01:46:32 +03:00
parent a7fd3ff401
commit e1ac195910
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@ export const getConferenceYear = conference => (new Date(conference.start_date))
export const getSpeakerName = speaker => speaker.first_name.concat(' ').concat(speaker.last_name);
export const isTrackHidden = track => track.name.en === 'Other' || track.name.bg === 'Други';
export const isTrackHidden = track => track?.name?.en === 'Other' || track?.name?.bg === 'Други';