mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
await org premium check
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user