use currency pipe on premium price

This commit is contained in:
Kyle Spearrin 2018-08-31 15:38:40 -04:00
parent 38c26d9649
commit 5571fbe8bf
1 changed files with 1 additions and 1 deletions

View File

@ -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,