mirror of
https://github.com/bitwarden/browser
synced 2024-12-29 11:22:30 +01:00
showPremiumCallout always after sync
This commit is contained in:
parent
5cc1438e8b
commit
489c7934bf
@ -82,7 +82,7 @@ export class VaultComponent implements OnInit {
|
||||
const hasEncKey = await this.cryptoService.hasEncKey();
|
||||
this.showUpdateKey = !hasEncKey;
|
||||
const isPremium = await this.tokenService.getPremium();
|
||||
this.showPremiumCallout = !this.showVerifyEmail && !isPremium && !this.platformUtilsService.isSelfHost();
|
||||
this.showPremiumCallout = ;
|
||||
|
||||
this.route.queryParams.subscribe(async (params) => {
|
||||
await this.syncService.fullSync(false);
|
||||
@ -91,9 +91,8 @@ export class VaultComponent implements OnInit {
|
||||
this.organizationsComponent.load(),
|
||||
]);
|
||||
|
||||
if (this.showPremiumCallout) {
|
||||
this.showPremiumCallout = !(await this.inOrgWithPremium());
|
||||
}
|
||||
this.showPremiumCallout = !this.showVerifyEmail && !isPremium &&
|
||||
!this.platformUtilsService.isSelfHost() && !(await this.inOrgWithPremium());
|
||||
|
||||
if (params == null) {
|
||||
this.groupingsComponent.selectedAll = true;
|
||||
|
Loading…
Reference in New Issue
Block a user