1
0
mirror of https://github.com/fallenbagel/jellyseerr.git synced 2026-01-11 00:58:16 -05:00

fix(ui): add fallback for region display name

This commit is contained in:
sct
2021-02-22 12:13:56 +00:00
parent 29757db3a9
commit f9c83e14e5

View File

@@ -146,7 +146,8 @@ const RegionSelector: React.FC<RegionSelectorProps> = ({
>
{intl.formatDisplayName(region.iso_3166_1, {
type: 'region',
})}
fallback: 'none',
}) ?? region.english_name}
</span>
{selected && (
<span