Ott 2182 fix pay per view

keep-around/454f2e8df6693ae6ee54b88401b54ef77b8ad702
Дектерев Андрей 4 years ago committed by Макситалиев Мирлан
parent 9ef3bf05e2
commit 454f2e8df6
  1. 4
      src/features/BuyMatchPopup/store/helpers.tsx

@ -84,7 +84,7 @@ export const transformSubsciptions = ({
return {
[SubscriptionType.Month]: transformByType(SubscriptionType.Month),
[SubscriptionType.Year]: transformByType(SubscriptionType.Year),
[SubscriptionType.PayPerView]: [{
[SubscriptionType.PayPerView]: subscriptions.pay_per_view ? ([{
currency: currencySymbols[payPerView?.currency_iso],
description: {
lexic: 'description_match_live_and_on_demand',
@ -96,6 +96,6 @@ export const transformSubsciptions = ({
pass: 'pass_match_access',
price: payPerView?.price,
type: SubscriptionType.PayPerView,
}],
}]) : [],
}
}

Loading…
Cancel
Save