From b06883142c3179e13867ee1a7afd33f8ff66d9de Mon Sep 17 00:00:00 2001 From: Elblinator Date: Wed, 10 Apr 2024 10:26:30 +0200 Subject: [PATCH] add subscription --- .../pages/meetings/pages/agenda/agenda.subscription.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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..f6857cb908 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 @@ -8,8 +8,6 @@ import { FollowList } from 'src/app/site/services/model-request-builder'; import { pollModelRequest } from '../polls/polls.subscription'; import { ViewListOfSpeakers, ViewTopic } from './modules'; -export const AGENDA_LIST_ITEM_SUBSCRIPTION = `agenda_list`; - export const agendaItemFollow: FollowList = [ { idField: `list_of_speakers_id`, @@ -43,6 +41,8 @@ export const agendaItemFollow: FollowList = [ } ]; +export const AGENDA_LIST_ITEM_SUBSCRIPTION = `agenda_list`; + export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id: Id) => ({ modelRequest: { viewModelCtor: ViewMeeting, @@ -59,6 +59,10 @@ export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id: { idField: `list_of_speakers_id`, ...listOfSpeakersSpeakerCountSubscription + }, + { + idField: `submitter_ids`, + fieldset: FULL_FIELDSET } ] }