diff --git a/src/features/Matches/helpers/getMatchClickAction/index.tsx b/src/features/Matches/helpers/getMatchClickAction/index.tsx index 2cc9e4c1..57cd71ba 100644 --- a/src/features/Matches/helpers/getMatchClickAction/index.tsx +++ b/src/features/Matches/helpers/getMatchClickAction/index.tsx @@ -11,6 +11,7 @@ export enum MatchAccess { export const getMatchAccess = ({ access, calc, + date, has_video, live, storage, @@ -21,7 +22,8 @@ export const getMatchAccess = ({ return MatchAccess.CanBuyMatch case !access: return MatchAccess.NoCountryAccess - case calc || has_video || storage: + // проверка времени матча - 10минут + case ((new Date(Date.parse(date.toString()) - 10 * 60 * 1000) < new Date()) && !live): return MatchAccess.RedirectToProfile case live: return MatchAccess.ViewMatchPopup