Fixed movie and series edit for media with unknown audio languages

This commit is contained in:
Anderson Shindy Oki
2025-07-30 09:35:57 +09:00
parent 2178cacf4a
commit 38903713e7

View File

@@ -44,7 +44,7 @@ const ItemEditForm: FunctionComponent<Props> = ({
const options = useSelectorOptions(
item?.audio_language ?? [],
(v) => v.name,
(v) => v.code2,
(v) => v.code2 ?? "",
);
const isOverlayVisible = isPending || isFetching || item === null;