use currency pipe on premium price
This commit is contained in:
parent
38c26d9649
commit
5571fbe8bf
|
@ -10,7 +10,7 @@ import { TokenService } from '../../abstractions/token.service';
|
||||||
|
|
||||||
export class PremiumComponent implements OnInit {
|
export class PremiumComponent implements OnInit {
|
||||||
isPremium: boolean = false;
|
isPremium: boolean = false;
|
||||||
price: string = '$10';
|
price: number = 10;
|
||||||
refreshPromise: Promise<any>;
|
refreshPromise: Promise<any>;
|
||||||
|
|
||||||
constructor(protected analytics: Angulartics2, protected toasterService: ToasterService,
|
constructor(protected analytics: Angulartics2, protected toasterService: ToasterService,
|
||||||
|
|
Loading…
Reference in New Issue