21 lines
444 B
TypeScript
21 lines
444 B
TypeScript
|
import {
|
||
|
Component,
|
||
|
OnInit,
|
||
|
} from '@angular/core';
|
||
|
|
||
|
import { TokenService } from 'jslib/abstractions/token.service';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'app-user-billing',
|
||
|
templateUrl: 'user-billing.component.html',
|
||
|
})
|
||
|
export class UserBillingComponent implements OnInit {
|
||
|
premium = false;
|
||
|
|
||
|
constructor(private tokenService: TokenService) { }
|
||
|
|
||
|
async ngOnInit() {
|
||
|
this.premium = this.tokenService.getPremium();
|
||
|
}
|
||
|
}
|