From 1756a2c6790ee87cc9110cbb5b1c091aab8f4ff0 Mon Sep 17 00:00:00 2001 From: Luisa Date: Tue, 5 Mar 2024 15:54:14 +0100 Subject: [PATCH] Expand motion detail subscription --- .../site/pages/meetings/pages/motions/motions.subscription.ts | 4 ++-- .../components/motion-meta-data/motion-meta-data.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/app/site/pages/meetings/pages/motions/motions.subscription.ts b/client/src/app/site/pages/meetings/pages/motions/motions.subscription.ts index 8c6cc643c2..c6c837b9b5 100644 --- a/client/src/app/site/pages/meetings/pages/motions/motions.subscription.ts +++ b/client/src/app/site/pages/meetings/pages/motions/motions.subscription.ts @@ -224,10 +224,10 @@ export const getMotionDetailSubscriptionConfig: SubscriptionConfigGenerator = (. follow: [ { idField: `user_id`, - fieldset: [...UserFieldsets.FullNameSubscription.fieldset, `meeting_user_ids`] + fieldset: `participantList` } ], - ...MeetingUserFieldsets.FullNameSubscription + fieldset: `participantListMinimal` } ], fieldset: [ diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/components/motion-meta-data/motion-meta-data.component.ts b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/components/motion-meta-data/motion-meta-data.component.ts index 3d478c6686..3b8e422046 100644 --- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/components/motion-meta-data/motion-meta-data.component.ts +++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/components/motion-meta-data/motion-meta-data.component.ts @@ -322,8 +322,8 @@ export class MotionMetaDataComponent extends BaseMotionDetailChildComponent impl return origin?.canAccess(); } - protected override onAfterSetMotion(_previous: ViewMotion, _current: ViewMotion): void { - super.onAfterSetMotion(_previous, _current); + protected override onAfterSetMotion(previous: ViewMotion, current: ViewMotion): void { + super.onAfterSetMotion(previous, current); this.updateSupportersSubject(); }