1
0
mirror of https://github.com/bitwarden/web synced 2025-12-27 21:53:29 +00:00

load premium status after pruchase

This commit is contained in:
Kyle Spearrin
2018-06-28 23:05:49 -04:00
parent 04ef16a94b
commit 4a2b3d6293
4 changed files with 34 additions and 8 deletions

View File

@@ -15,6 +15,10 @@ export class UserBillingComponent implements OnInit {
constructor(private tokenService: TokenService) { }
async ngOnInit() {
this.loadPremiumStatus();
}
loadPremiumStatus() {
this.premium = this.tokenService.getPremium();
}
}