fix(ott-933): change popup condition for match (#333)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Иван Пиминов 5 years ago committed by GitHub
parent dd9cf5b47d
commit f641fcb78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/features/MatchCard/hooks.tsx

@ -34,7 +34,7 @@ export const useCard = (match: Match) => {
setMatch(match)
openPopup()
fetchMatchPlaylists(match)
} else if (match.calc && !match.hasVideo) {
} else if (!match.calc && match.hasVideo) {
redirectToMatchPage()
} else if (!match.accessibleBySubscription) {
openBuyMatchPopup(match)

Loading…
Cancel
Save