1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-03 00:20:35 +02: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);