@ -145,7 +145,6 @@ const SettingsMain: React.FC = () => {
originalLanguage : data?.originalLanguage ,
partialRequestsEnabled : data?.partialRequestsEnabled ,
trustProxy : data?.trustProxy ,
cacheImages : data?.cacheImages ,
} }
enableReinitialize
validationSchema = { MainSettingsSchema }
@ -160,7 +159,6 @@ const SettingsMain: React.FC = () => {
originalLanguage : values.originalLanguage ,
partialRequestsEnabled : values.partialRequestsEnabled ,
trustProxy : values.trustProxy ,
cacheImages : values.cacheImages ,
} ) ;
mutate ( '/api/v1/settings/public' ) ;
@ -303,26 +301,6 @@ const SettingsMain: React.FC = () => {
/ >
< / div >
< / div >
< div className = "form-row" >
< label htmlFor = "csrfProtection" className = "checkbox-label" >
< span className = "mr-2" >
{ intl . formatMessage ( messages . cacheImages ) }
< / span >
< Badge badgeType = "warning" >
{ intl . formatMessage ( globalMessages . experimental ) }
< / Badge >
< span className = "label-tip" >
{ intl . formatMessage ( messages . cacheImagesTip ) }
< / span >
< / label >
< div className = "form-input" >
< Field
type = "checkbox"
id = "cacheImages"
name = "cacheImages"
/ >
< / div >
< / div >
< div className = "form-row" >
< label htmlFor = "region" className = "text-label" >
< span > { intl . formatMessage ( messages . region ) } < / span >