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
|
||||
name={'Language'}
|
||||
label={globalize.translate('LabelLanguage')}
|
||||
defaultValue={config?.PreferredMetadataLanguage}
|
||||
defaultValue={config.PreferredMetadataLanguage}
|
||||
select
|
||||
>
|
||||
{cultures.map(culture => {
|
||||
|
@ -110,7 +110,7 @@ export const Component = () => {
|
|||
<TextField
|
||||
name={'Country'}
|
||||
label={globalize.translate('LabelCountry')}
|
||||
defaultValue={config?.MetadataCountryCode}
|
||||
defaultValue={config.MetadataCountryCode}
|
||||
select
|
||||
>
|
||||
{countries.map(country => {
|
||||
|
@ -125,7 +125,7 @@ export const Component = () => {
|
|||
|
||||
<TextField
|
||||
name={'DummyChapterDuration'}
|
||||
defaultValue={config?.DummyChapterDuration}
|
||||
defaultValue={config.DummyChapterDuration}
|
||||
type='number'
|
||||
inputProps={{
|
||||
min: 0,
|
||||
|
@ -138,7 +138,7 @@ export const Component = () => {
|
|||
<TextField
|
||||
name={'ChapterImageResolution'}
|
||||
select
|
||||
defaultValue={config?.ChapterImageResolution}
|
||||
defaultValue={config.ChapterImageResolution}
|
||||
label={globalize.translate('LabelChapterImageResolution')}
|
||||
helperText={globalize.translate('LabelChapterImageResolutionHelp')}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue