mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
Enhance VaultComponent to filter refreshing state before processing organization data (#20067)
This commit is contained in:
parent
79c6b51599
commit
d4951cbf9a
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user