1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Remove F4E vault card (#1413)

* Remove F4E card from vault page

* Remove unneeded property
This commit is contained in:
Justin Baur
2022-01-27 15:47:56 -05:00
committed by GitHub
parent 2ae98887b7
commit 1a219daa12
2 changed files with 0 additions and 17 deletions

View File

@@ -69,7 +69,6 @@ export class VaultComponent implements OnInit, OnDestroy {
showBrowserOutdated = false;
showUpdateKey = false;
showPremiumCallout = false;
showRedeemSponsorship = false;
showProviders = false;
deleted: boolean = false;
trashCleanupWarning: string = null;
@@ -110,11 +109,6 @@ export class VaultComponent implements OnInit, OnDestroy {
this.showProviders = (await this.providerService.getAll()).length > 0;
const allOrgs = await this.organizationService.getAll();
this.showRedeemSponsorship =
allOrgs.some((o) => o.familySponsorshipAvailable) &&
!allOrgs.some((o) => o.familySponsorshipFriendlyName != null);
await Promise.all([this.groupingsComponent.load(), this.organizationsComponent.load()]);
this.showUpdateKey = !(await this.cryptoService.hasEncKey());