bitwarden-estensione-browser/src/app/settings/user-billing.component.ts

21 lines
444 B
TypeScript
Raw Normal View History

2018-06-28 20:05:04 +02:00
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();
}
}