From f641fcb78fd7c09f020c1b58ceafc3425094905a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=9F=D0=B8=D0=BC=D0=B8=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2?= <61900450+ivan-piminov@users.noreply.github.com> Date: Thu, 18 Mar 2021 16:04:25 +0300 Subject: [PATCH] fix(ott-933): change popup condition for match (#333) --- src/features/MatchCard/hooks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/MatchCard/hooks.tsx b/src/features/MatchCard/hooks.tsx index c7bd4ecf..39f0d430 100644 --- a/src/features/MatchCard/hooks.tsx +++ b/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)