diff --git a/src/current/classes/Schedules.js b/src/current/classes/Schedules.js index 58189c9703..facedf6949 100644 --- a/src/current/classes/Schedules.js +++ b/src/current/classes/Schedules.js @@ -601,7 +601,7 @@ SchedulesClass.prototype.WeekendMeetingData = function (startWeek, endWeek) { schedule.weekend_meeting_date = WMDate; schedule.weekend_meeting_date_formatted = WMDateFormatted; - const publicTalks = S34s.talks(); + const publicTalks = S34s.talks; const currentTalk = publicTalks.find((record) => record.talk_number === schedule.public_talk); schedule.public_talk_title = currentTalk ? currentTalk.talk_title : ''; schedule.public_talk_number = currentTalk ? `No. ${currentTalk.talk_number}` : ''; diff --git a/src/current/classes/VisitingSpeakers.js b/src/current/classes/VisitingSpeakers.js index 6d24abb38c..93d97e70a9 100644 --- a/src/current/classes/VisitingSpeakers.js +++ b/src/current/classes/VisitingSpeakers.js @@ -434,7 +434,7 @@ VisitingSpeakersClass.prototype.incomingSpeakersTalks = function (talk) { const talks = []; - const allTalks = S34s.talks(); + const allTalks = S34s.talks; for (const talk of tmpTalks) { const obj = {};