diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index d9aa2a56f1..3a04b9509e 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -82,8 +82,7 @@ export class VaultComponent implements OnInit { const hasEncKey = await this.cryptoService.hasEncKey(); this.showUpdateKey = !hasEncKey; const isPremium = await this.tokenService.getPremium(); - this.showPremiumCallout = !this.showVerifyEmail && !isPremium && - !this.platformUtilsService.isSelfHost() && !(await this.inOrgWithPremium()); + this.showPremiumCallout = !this.showVerifyEmail && !isPremium && !this.platformUtilsService.isSelfHost(); this.route.queryParams.subscribe(async (params) => { await this.syncService.fullSync(false); @@ -92,6 +91,10 @@ export class VaultComponent implements OnInit { this.organizationsComponent.load(), ]); + if (this.showPremiumCallout) { + this.showPremiumCallout = !(await this.inOrgWithPremium()); + } + if (params == null) { this.groupingsComponent.selectedAll = true; await this.ciphersComponent.load();