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:
parent
af231b3914
commit
21a4b48eca
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user