From 256b310463504e27603d1776fc8383cf71560119 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Tue, 24 Sep 2024 21:18:13 +0500 Subject: [PATCH] fix: episodes number for Sibnet player --- app/components/ReleasePlayer/ReleasePlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/ReleasePlayer/ReleasePlayer.tsx b/app/components/ReleasePlayer/ReleasePlayer.tsx index 8abb669..01059aa 100644 --- a/app/components/ReleasePlayer/ReleasePlayer.tsx +++ b/app/components/ReleasePlayer/ReleasePlayer.tsx @@ -152,7 +152,7 @@ export const ReleasePlayer = (props: { id: number }) => { }} disabled={selectedEpisode.position === episode.position} > - {episode.position} серия + {episode.name ? episode.name : `${selectedSource.name != "Sibnet" ? episode.position : episode.position + 1} серия`} {episode.is_watched && ( )}