From cf70e3db51796dbae4efd440466e419c37fc237f Mon Sep 17 00:00:00 2001 From: Rita Date: Fri, 2 Sep 2022 13:07:36 +0300 Subject: [PATCH] feat(ott-2712): pr fix --- .../MatchSidePlaylists/components/EventsList/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/features/MatchSidePlaylists/components/EventsList/index.tsx b/src/features/MatchSidePlaylists/components/EventsList/index.tsx index a54534fe..bf4d9e3a 100644 --- a/src/features/MatchSidePlaylists/components/EventsList/index.tsx +++ b/src/features/MatchSidePlaylists/components/EventsList/index.tsx @@ -2,6 +2,8 @@ import map from 'lodash/map' import type { Events, MatchInfo } from 'requests' +import { isLffClient } from 'config/clients' + import { T9n } from 'features/T9n' import type { EventPlaylistOption, @@ -60,6 +62,7 @@ export const EventsList = ({ const team = isHomeTeam ? profile?.team1 : profile?.team2 + const eventWithoutClick = isLffClient && profile?.live return ( @@ -67,7 +70,7 @@ export const EventsList = ({ active={isEqual(eventPlaylist, selectedPlaylist)} event={event} isHomeTeam={isHomeTeam} - onClick={() => !profile?.live && onSelect(eventPlaylist)} + onClick={() => !eventWithoutClick && onSelect(eventPlaylist)} team={team} />