diff --git a/src/Schedule/utils.js b/src/Schedule/utils.js index 971c6b0..4c6f3ab 100644 --- a/src/Schedule/utils.js +++ b/src/Schedule/utils.js @@ -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 === 'Други';