1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

user canAccessPremium checks

This commit is contained in:
Kyle Spearrin
2018-08-28 23:17:58 -04:00
parent 1873ce41b6
commit 41ff511165
9 changed files with 25 additions and 38 deletions

View File

@@ -51,8 +51,7 @@ export class UserBillingComponent implements OnInit {
return;
}
const premium = this.tokenService.getPremium();
if (premium) {
if (this.tokenService.getPremium()) {
this.loading = true;
this.billing = await this.apiService.getUserBilling();
} else {