Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subscription for submitter in agenda #3523

Merged
merged 3 commits into from
Apr 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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<any> = [
{
idField: `list_of_speakers_id`,
Expand Down Expand Up @@ -43,6 +41,8 @@ export const agendaItemFollow: FollowList<any> = [
}
];

export const AGENDA_LIST_ITEM_SUBSCRIPTION = `agenda_list`;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why move this?

export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id: Id) => ({
modelRequest: {
viewModelCtor: ViewMeeting,
Expand All @@ -59,6 +59,10 @@ export const getAgendaListSubscriptionConfig: SubscriptionConfigGenerator = (id:
{
idField: `list_of_speakers_id`,
...listOfSpeakersSpeakerCountSubscription
},
{
idField: `submitter_ids`,
fieldset: FULL_FIELDSET
}
]
}
Expand Down
Loading