diff --git a/client/src/app/site/pages/meetings/pages/agenda/agenda.subscription.ts b/client/src/app/site/pages/meetings/pages/agenda/agenda.subscription.ts index eee2d73986..26c5e00305 100644 --- a/client/src/app/site/pages/meetings/pages/agenda/agenda.subscription.ts +++ b/client/src/app/site/pages/meetings/pages/agenda/agenda.subscription.ts @@ -9,6 +9,10 @@ import { pollModelRequest } from '../polls/polls.subscription'; import { ViewListOfSpeakers, ViewTopic } from './modules'; export const AGENDA_LIST_ITEM_SUBSCRIPTION = `agenda_list`; +export const AGENDA_LIST_ITEM_MINIMAL_SUBSCRIPTION = `agenda_list_minimal`; +export const TOPIC_ITEM_SUBSCRIPTION = `topic_detail`; +export const TOPIC_ITEM_DUPLICATE_SUBSCRIPTION = `topic_detail`; +export const LIST_OF_SPEAKERS_SUBSCRIPTION = `los_detail`; export const agendaItemFollow: FollowList = [ { @@ -59,6 +63,10 @@ export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id: { idField: `list_of_speakers_id`, ...listOfSpeakersSpeakerCountSubscription + }, + { + idField: `submitter_ids`, + fieldset: FULL_FIELDSET } ] } @@ -70,8 +78,6 @@ export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id: subscriptionName: AGENDA_LIST_ITEM_SUBSCRIPTION }); -export const AGENDA_LIST_ITEM_MINIMAL_SUBSCRIPTION = `agenda_list_minimal`; - export const getAgendaListMinimalSubscriptionConfig: SubscriptionConfigGenerator = (id: Id) => ({ modelRequest: { viewModelCtor: ViewMeeting, @@ -92,8 +98,6 @@ export const getAgendaListMinimalSubscriptionConfig: SubscriptionConfigGenerator subscriptionName: AGENDA_LIST_ITEM_MINIMAL_SUBSCRIPTION }); -export const TOPIC_ITEM_SUBSCRIPTION = `topic_detail`; - export const getTopicDetailSubscriptionConfig: SubscriptionConfigGenerator = (...ids: Id[]) => ({ modelRequest: { viewModelCtor: ViewTopic, @@ -121,7 +125,7 @@ export const getTopicDuplicateSubscriptionConfig: SubscriptionConfigGenerator = ids, fieldset: FULL_FIELDSET }, - subscriptionName: TOPIC_ITEM_SUBSCRIPTION + subscriptionName: TOPIC_ITEM_DUPLICATE_SUBSCRIPTION }); export const listOfSpeakersSpeakerCountSubscription = { @@ -140,8 +144,6 @@ export const listOfSpeakersSpeakerCountSubscription = { ] }; -export const LIST_OF_SPEAKERS_SUBSCRIPTION = `los_detail`; - export const getListOfSpeakersDetailSubscriptionConfig: SubscriptionConfigGenerator = (id: Id) => ({ modelRequest: { viewModelCtor: ViewListOfSpeakers,