mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fix external subtitles key in sub menu
This commit is contained in:
parent
37b1ffe0ca
commit
58c6815dc3
@ -71,9 +71,9 @@ export const RightButtons = ({
|
||||
selected={!selectedSubtitle}
|
||||
onSelect={() => setSubtitle(null)}
|
||||
/>
|
||||
{subtitles.map((x) => (
|
||||
{subtitles.map((x, i) => (
|
||||
<Menu.Item
|
||||
key={x.index}
|
||||
key={x.index ?? i}
|
||||
label={x.link ? getDisplayName(x) : `${getDisplayName(x)} (${x.codec})`}
|
||||
selected={selectedSubtitle === x}
|
||||
disabled={!x.link}
|
||||
|
Loading…
x
Reference in New Issue
Block a user