From b160b4fffb2ff0c5e17d42b2eb942fef7616e324 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Wed, 18 Aug 2021 07:46:04 -0500 Subject: [PATCH] Fix scheduled --- .../react-components/FindSessionOpen.js.jsx.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/app/assets/javascripts/react-components/FindSessionOpen.js.jsx.coffee b/web/app/assets/javascripts/react-components/FindSessionOpen.js.jsx.coffee index b25047214..928f2d16b 100644 --- a/web/app/assets/javascripts/react-components/FindSessionOpen.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/FindSessionOpen.js.jsx.coffee @@ -191,13 +191,10 @@ LatencyActions = @LatencyActions if sessionsChanged.type == @props.mode for session in sessionsChanged.sessions - for participant in session.active_music_session.participants - @state.participant_ids.push(participant.user.id) unless _.contains(@state.participant_ids, participant.user.id) - for rsvp in session.approved_rsvps @state.participant_ids.push(rsvp.id) unless _.contains(@state.participant_ids, rsvp.id) LatencyActions.resolve(_.unique(@state.participant_ids)) @setState(sessionsChanged) -}) \ No newline at end of file +})