|
|
|
|
@ -58,8 +58,9 @@ const MatchPageComponent = () => { |
|
|
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
|
|
|
}, [profile, profileType]) |
|
|
|
|
|
|
|
|
|
const playFromScout = profile?.has_video && !profile?.live |
|
|
|
|
const playFromOTT = !profile?.has_video && (profile?.live || profile?.storage) |
|
|
|
|
const playFromScout = profile?.has_video && !profile?.live && !profile.has_hls |
|
|
|
|
const playFromOTT = (!profile?.has_video && (profile?.live || profile?.storage)) |
|
|
|
|
|| profile?.has_hls |
|
|
|
|
// TODO Добавить попап 'Данный матч ещё не начался'
|
|
|
|
|
if (!isStarted && profile?.live === false) { |
|
|
|
|
const sportName = history.location.pathname.split('/')[1] |
|
|
|
|
|