diff --git a/src/features/StreamPlayer/index.tsx b/src/features/StreamPlayer/index.tsx index 462bb16b..46a4a3e1 100644 --- a/src/features/StreamPlayer/index.tsx +++ b/src/features/StreamPlayer/index.tsx @@ -27,6 +27,12 @@ import { useAuthStore } from '../AuthStore' import { Controls } from './components/Controls' import RewindMobile from './components/RewindMobile' +const tournamentsWithWatermark = { + 131: 'Spain', + 316: 'Tunisia', + 1136: 'Brasil', + 2032: 'Spain', +} /** * HLS плеер, применяется на лайв и завершенных матчах */ @@ -108,7 +114,7 @@ export const StreamPlayer = (props: Props) => { {user - && [1136, 131, 2032].includes(Number(profile?.tournament.id)) + && Object.keys(tournamentsWithWatermark)?.includes(String(profile?.tournament.id)) && playing && isLive && (