From 6db90dc141b3215485f82b1791510d7596a8e1f1 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Fri, 3 May 2024 05:48:57 +1000 Subject: [PATCH] Use refCount: true for shareReplay (#9005) --- .../organizations/manage/group-add-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.ts b/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.ts index aabaac2f1c2..52cba4f2aea 100644 --- a/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.ts +++ b/apps/web/src/app/admin-console/organizations/manage/group-add-edit.component.ts @@ -136,7 +136,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy { private destroy$ = new Subject(); private orgCollections$ = from(this.collectionAdminService.getAll(this.organizationId)).pipe( - shareReplay({ refCount: false }), + shareReplay({ refCount: true, bufferSize: 1 }), ); private get orgMembers$(): Observable> {