From 9bdd217fe0206dbe653b5c78961266090ebb5e59 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Tue, 30 Apr 2024 18:37:02 +0500 Subject: [PATCH] fix(frontend/releases): fix null episode name if API returning null in episode.name add fallback to use episode position --- frontend/app/components/Release/ReleasePlayer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Release/ReleasePlayer.jsx b/frontend/app/components/Release/ReleasePlayer.jsx index 261abeb..88d42c9 100644 --- a/frontend/app/components/Release/ReleasePlayer.jsx +++ b/frontend/app/components/Release/ReleasePlayer.jsx @@ -155,7 +155,7 @@ export const ReleasePlayer = (props) => { style={{ marginLeft: "8px" }} > {item.is_watched && check} - {item.name} + {item.name || `${item.position + 1} серия`} ); })}