1
0
mirror of https://github.com/bitwarden/web synced 2025-12-21 18:53:38 +00:00

[euvr] Adjust Vault width based on card visibility (#1588)

This commit is contained in:
Vincent Salucci
2022-04-13 07:00:44 -05:00
committed by GitHub
parent 4fd601bdc2
commit 5e85cea01b
2 changed files with 10 additions and 1 deletions

View File

@@ -146,6 +146,15 @@ export class VaultComponent implements OnInit, OnDestroy {
});
}
get isShowingCards() {
return (
this.showBrowserOutdated ||
this.showPremiumCallout ||
this.showUpdateKey ||
this.showVerifyEmail
);
}
ngOnDestroy() {
this.broadcasterService.unsubscribe(BroadcasterSubscriptionId);
}