From 0858891c349e31749cfe9a02f01d5b49df956600 Mon Sep 17 00:00:00 2001 From: Bastian Rihm Date: Thu, 28 Sep 2023 10:48:52 +0200 Subject: [PATCH] Fix set submitter containing non meeting users --- .../motion-multiselect/services/motion-multiselect.service.ts | 3 ++- .../app/site/pages/meetings/pages/motions/motions.module.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/app/site/pages/meetings/pages/motions/components/motion-multiselect/services/motion-multiselect.service.ts b/client/src/app/site/pages/meetings/pages/motions/components/motion-multiselect/services/motion-multiselect.service.ts index 67474644ff..17221a91ea 100644 --- a/client/src/app/site/pages/meetings/pages/motions/components/motion-multiselect/services/motion-multiselect.service.ts +++ b/client/src/app/site/pages/meetings/pages/motions/components/motion-multiselect/services/motion-multiselect.service.ts @@ -24,6 +24,7 @@ import { getParticipantMinimalSubscriptionConfig, PARTICIPANT_LIST_SUBSCRIPTION_MINIMAL } from '../../../../participants/participants.subscription'; +import { ParticipantControllerService } from '../../../../participants/services/common/participant-controller.service'; import { MotionCategoryControllerService } from '../../../modules/categories/services'; import { MotionBlockControllerService } from '../../../modules/motion-blocks/services'; import { PersonalNoteControllerService } from '../../../modules/personal-notes/services'; @@ -45,7 +46,7 @@ export class MotionMultiselectService { private translate: TranslateService, private promptService: PromptService, private choiceService: ChoiceService, - private userRepo: UserRepositoryService, + private userRepo: ParticipantControllerService, private workflowRepo: MotionWorkflowControllerService, private categoryRepo: MotionCategoryControllerService, private submitterRepo: MotionSubmitterControllerService, diff --git a/client/src/app/site/pages/meetings/pages/motions/motions.module.ts b/client/src/app/site/pages/meetings/pages/motions/motions.module.ts index 06b9270894..7212d32414 100644 --- a/client/src/app/site/pages/meetings/pages/motions/motions.module.ts +++ b/client/src/app/site/pages/meetings/pages/motions/motions.module.ts @@ -2,11 +2,12 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; +import { ParticipantCommonServiceModule } from '../participants/services/common/participant-common-service.module'; import { MotionMainComponent } from './components/motion-main/motion-main.component'; import { MotionsRoutingModule } from './motions-routing.module'; @NgModule({ declarations: [MotionMainComponent], - imports: [CommonModule, MotionsRoutingModule, RouterModule] + imports: [CommonModule, MotionsRoutingModule, RouterModule, ParticipantCommonServiceModule] }) export class MotionsModule {}