1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

await org premium check

This commit is contained in:
Kyle Spearrin 2018-07-24 10:53:01 -04:00
parent 105a7870bf
commit 2a16be2fb2

View File

@ -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);