1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

fix logic for hiding sends tab (#11352)

This commit is contained in:
Jordan Aasen 2024-10-02 09:09:10 -07:00 committed by GitHub
parent af231b3914
commit 21a4b48eca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ export class PopupTabNavigationComponent {
.pipe(
filter((policyAppliesToActiveUser) => policyAppliesToActiveUser),
switchMap(() => this.sendService.sends$),
map((sends) => sends.length > 1),
map((sends) => sends.length > 0),
takeUntilDestroyed(),
)
.subscribe((hasSends) => {