From e6c3de9f47b3ffe3cb8a5fa9e24df04683e9eee4 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Tue, 24 Sep 2024 14:30:06 -0700 Subject: [PATCH] [PM-12609] Use shareReplay for allCiphers$ observable (#11229) --- apps/web/src/app/vault/org-vault/vault.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/app/vault/org-vault/vault.component.ts b/apps/web/src/app/vault/org-vault/vault.component.ts index f378e171e7..31f981b489 100644 --- a/apps/web/src/app/vault/org-vault/vault.component.ts +++ b/apps/web/src/app/vault/org-vault/vault.component.ts @@ -343,6 +343,7 @@ export class VaultComponent implements OnInit, OnDestroy { await this.searchService.indexCiphers(ciphers, organization.id); return ciphers; }), + shareReplay({ refCount: true, bufferSize: 1 }), ); const allCipherMap$ = allCiphers$.pipe(