mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove optional chaining
This commit is contained in:
parent
2d313e9ae9
commit
90f025c7fb
1 changed files with 4 additions and 4 deletions
|
@ -96,7 +96,7 @@ export const Component = () => {
|
||||||
<TextField
|
<TextField
|
||||||
name={'Language'}
|
name={'Language'}
|
||||||
label={globalize.translate('LabelLanguage')}
|
label={globalize.translate('LabelLanguage')}
|
||||||
defaultValue={config?.PreferredMetadataLanguage}
|
defaultValue={config.PreferredMetadataLanguage}
|
||||||
select
|
select
|
||||||
>
|
>
|
||||||
{cultures.map(culture => {
|
{cultures.map(culture => {
|
||||||
|
@ -110,7 +110,7 @@ export const Component = () => {
|
||||||
<TextField
|
<TextField
|
||||||
name={'Country'}
|
name={'Country'}
|
||||||
label={globalize.translate('LabelCountry')}
|
label={globalize.translate('LabelCountry')}
|
||||||
defaultValue={config?.MetadataCountryCode}
|
defaultValue={config.MetadataCountryCode}
|
||||||
select
|
select
|
||||||
>
|
>
|
||||||
{countries.map(country => {
|
{countries.map(country => {
|
||||||
|
@ -125,7 +125,7 @@ export const Component = () => {
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
name={'DummyChapterDuration'}
|
name={'DummyChapterDuration'}
|
||||||
defaultValue={config?.DummyChapterDuration}
|
defaultValue={config.DummyChapterDuration}
|
||||||
type='number'
|
type='number'
|
||||||
inputProps={{
|
inputProps={{
|
||||||
min: 0,
|
min: 0,
|
||||||
|
@ -138,7 +138,7 @@ export const Component = () => {
|
||||||
<TextField
|
<TextField
|
||||||
name={'ChapterImageResolution'}
|
name={'ChapterImageResolution'}
|
||||||
select
|
select
|
||||||
defaultValue={config?.ChapterImageResolution}
|
defaultValue={config.ChapterImageResolution}
|
||||||
label={globalize.translate('LabelChapterImageResolution')}
|
label={globalize.translate('LabelChapterImageResolution')}
|
||||||
helperText={globalize.translate('LabelChapterImageResolutionHelp')}
|
helperText={globalize.translate('LabelChapterImageResolutionHelp')}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue