mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +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;
|
this.showUpdateKey = !hasEncKey;
|
||||||
const isPremium = await this.tokenService.getPremium();
|
const isPremium = await this.tokenService.getPremium();
|
||||||
this.showPremiumCallout = !this.showVerifyEmail && !isPremium &&
|
this.showPremiumCallout = !this.showVerifyEmail && !isPremium &&
|
||||||
!this.platformUtilsService.isSelfHost() && !this.inOrgWithPremium();
|
!this.platformUtilsService.isSelfHost() && !(await this.inOrgWithPremium());
|
||||||
|
|
||||||
this.route.queryParams.subscribe(async (params) => {
|
this.route.queryParams.subscribe(async (params) => {
|
||||||
await this.syncService.fullSync(false);
|
await this.syncService.fullSync(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user