Skip to content

Commit

Permalink
[PM-12609] Use shareReplay for allCiphers$ observable (#11229)
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-melton authored Sep 24, 2024
1 parent 4269489 commit e6c3de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/app/vault/org-vault/vault.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e6c3de9

Please sign in to comment.