|
@ -34,6 +34,7 @@ export class PricingPageComponent implements OnDestroy, OnInit { |
|
|
'DATA_IMPORT_AND_EXPORT_TOOLTIP_PREMIUM' |
|
|
'DATA_IMPORT_AND_EXPORT_TOOLTIP_PREMIUM' |
|
|
); |
|
|
); |
|
|
public isLoggedIn: boolean; |
|
|
public isLoggedIn: boolean; |
|
|
|
|
|
public label: string; |
|
|
public price: number; |
|
|
public price: number; |
|
|
public priceId: string; |
|
|
public priceId: string; |
|
|
public professionalDataProviderTooltipPremium = translate( |
|
|
public professionalDataProviderTooltipPremium = translate( |
|
@ -59,6 +60,7 @@ export class PricingPageComponent implements OnDestroy, OnInit { |
|
|
|
|
|
|
|
|
this.coupon = subscriptionOffers?.default?.coupon; |
|
|
this.coupon = subscriptionOffers?.default?.coupon; |
|
|
this.durationExtension = subscriptionOffers?.default?.durationExtension; |
|
|
this.durationExtension = subscriptionOffers?.default?.durationExtension; |
|
|
|
|
|
this.label = subscriptionOffers?.default?.label; |
|
|
this.price = subscriptionOffers?.default?.price; |
|
|
this.price = subscriptionOffers?.default?.price; |
|
|
|
|
|
|
|
|
this.userService.stateChanged |
|
|
this.userService.stateChanged |
|
@ -80,6 +82,8 @@ export class PricingPageComponent implements OnDestroy, OnInit { |
|
|
subscriptionOffers?.[ |
|
|
subscriptionOffers?.[ |
|
|
this.user?.subscription?.offer |
|
|
this.user?.subscription?.offer |
|
|
]?.durationExtension; |
|
|
]?.durationExtension; |
|
|
|
|
|
this.label = |
|
|
|
|
|
subscriptionOffers?.[this.user?.subscription?.offer]?.label; |
|
|
this.price = |
|
|
this.price = |
|
|
subscriptionOffers?.[this.user?.subscription?.offer]?.price; |
|
|
subscriptionOffers?.[this.user?.subscription?.offer]?.price; |
|
|
this.priceId = |
|
|
this.priceId = |
|
|