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:
parent
105a7870bf
commit
2a16be2fb2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user