|
|
@ -107,14 +107,15 @@ export class GfPricingPageComponent implements OnDestroy, OnInit { |
|
|
this.baseCurrency = baseCurrency; |
|
|
this.baseCurrency = baseCurrency; |
|
|
this.coupon = subscriptionOffer?.coupon; |
|
|
this.coupon = subscriptionOffer?.coupon; |
|
|
this.durationExtension = subscriptionOffer?.durationExtension; |
|
|
this.durationExtension = subscriptionOffer?.durationExtension; |
|
|
this.label = subscriptionOffer?.label; |
|
|
|
|
|
this.price = subscriptionOffer?.price; |
|
|
|
|
|
|
|
|
|
|
|
this.hasPermissionToCreateUser = hasPermission( |
|
|
this.hasPermissionToCreateUser = hasPermission( |
|
|
globalPermissions, |
|
|
globalPermissions, |
|
|
permissions.createUserAccount |
|
|
permissions.createUserAccount |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
this.label = subscriptionOffer?.label; |
|
|
|
|
|
this.price = subscriptionOffer?.price; |
|
|
|
|
|
|
|
|
this.userService.stateChanged |
|
|
this.userService.stateChanged |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((state) => { |
|
|
.subscribe((state) => { |
|
|
|