Fix property reading
This commit is contained in:
parent
a7fd3ff401
commit
e1ac195910
|
@ -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 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 === 'Други';
|
||||||
|
|
Loading…
Reference in New Issue