From d4951cbf9a9fbeb26fe745d2f04a42e9b4328ad8 Mon Sep 17 00:00:00 2001 From: Jared Date: Thu, 9 Apr 2026 15:44:47 -0400 Subject: [PATCH] Enhance VaultComponent to filter refreshing state before processing organization data (#20067) --- .../admin-console/organizations/collections/vault.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/app/admin-console/organizations/collections/vault.component.ts b/apps/web/src/app/admin-console/organizations/collections/vault.component.ts index 60b5b290284..08a0cfcc5e1 100644 --- a/apps/web/src/app/admin-console/organizations/collections/vault.component.ts +++ b/apps/web/src/app/admin-console/organizations/collections/vault.component.ts @@ -318,6 +318,7 @@ export class VaultComponent implements OnInit, OnDestroy { this.restrictedItemTypesService.restricted$, this.refreshingSubject$, ]).pipe( + filter(([, , , refreshing]) => refreshing), switchMap(async ([organization, userId, restricted]) => { // If user swaps organization reset the addAccessToggle if (!this.showAddAccessToggle || organization) {