diff --git a/src/app/organizations/manage/people.component.ts b/src/app/organizations/manage/people.component.ts index 949e8f4410..3b524b98f0 100644 --- a/src/app/organizations/manage/people.component.ts +++ b/src/app/organizations/manage/people.component.ts @@ -242,7 +242,7 @@ export class PeopleComponent implements OnInit { } const factory = this.componentFactoryResolver.resolveComponentFactory(ModalComponent); - this.modal = this.groupsModalRef.createComponent(factory).instance; + this.modal = this.confirmModalRef.createComponent(factory).instance; const childComponent = this.modal.show( UserConfirmComponent, this.confirmModalRef);