From 2a16be2fb21f9f933e39081797fa19dc4e3bc78a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 24 Jul 2018 10:53:01 -0400 Subject: [PATCH] await org premium check --- src/app/vault/vault.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index 24cfa559ad..d9aa2a56f1 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -83,7 +83,7 @@ export class VaultComponent implements OnInit { this.showUpdateKey = !hasEncKey; const isPremium = await this.tokenService.getPremium(); this.showPremiumCallout = !this.showVerifyEmail && !isPremium && - !this.platformUtilsService.isSelfHost() && !this.inOrgWithPremium(); + !this.platformUtilsService.isSelfHost() && !(await this.inOrgWithPremium()); this.route.queryParams.subscribe(async (params) => { await this.syncService.fullSync(false);