fix premium testing logic
This commit is contained in:
parent
830a437f1e
commit
f064f5bd96
|
@ -27,7 +27,7 @@ export class PremiumComponent implements OnInit {
|
||||||
private tokenService: TokenService, private apiService: ApiService) { }
|
private tokenService: TokenService, private apiService: ApiService) { }
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
this.isPremium = !this.tokenService.getPremium();
|
this.isPremium = this.tokenService.getPremium();
|
||||||
}
|
}
|
||||||
|
|
||||||
async refresh() {
|
async refresh() {
|
||||||
|
|
Loading…
Reference in New Issue