|
|
|
|
@ -69,7 +69,6 @@ export class VaultComponent implements OnInit, OnDestroy {
@@ -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 {
@@ -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()); |
|
|
|
|
|
|
|
|
|
|