1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00: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

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) => {