refactor: cleanup item pages code and make them more perfomant

This commit is contained in:
--remove-section committed 2025-12-19 01:33:57 +05:30
1 parent d46e143262
commit 64c5b7570b
10 files changed
+521 -1370

No files matched your search

+4 -5
View File
@@ -359,11 +359,10 @@ const PlayButton = ({
sx={sx}
size={size}
disabled={
currentEpisode.isPending ||
(itemType === BaseItemKind.Series &&
(!currentEpisode.data ||
!currentEpisode.data.Items ||
currentEpisode.data.Items.length === 0))
itemType === BaseItemKind.Series &&
(!currentEpisode.data ||
!currentEpisode.data.Items ||
currentEpisode.data.Items.length === 0)
}
{...buttonProps}
>