mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
fix logic for hiding sends tab (#11352)
This commit is contained in:
@@ -56,7 +56,7 @@ export class PopupTabNavigationComponent {
|
|||||||
.pipe(
|
.pipe(
|
||||||
filter((policyAppliesToActiveUser) => policyAppliesToActiveUser),
|
filter((policyAppliesToActiveUser) => policyAppliesToActiveUser),
|
||||||
switchMap(() => this.sendService.sends$),
|
switchMap(() => this.sendService.sends$),
|
||||||
map((sends) => sends.length > 1),
|
map((sends) => sends.length > 0),
|
||||||
takeUntilDestroyed(),
|
takeUntilDestroyed(),
|
||||||
)
|
)
|
||||||
.subscribe((hasSends) => {
|
.subscribe((hasSends) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user