mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-11 14:33:44 +00:00
Don't block update UI settings under docker
This commit is contained in:
parent
d9ce6d43e4
commit
01f29dd505
3 changed files with 0 additions and 15 deletions
|
@ -103,7 +103,6 @@ class GeneralSettings extends Component {
|
|||
isResettingApiKey,
|
||||
isWindows,
|
||||
isWindowsService,
|
||||
isDocker,
|
||||
mode,
|
||||
packageUpdateMechanism,
|
||||
onInputChange,
|
||||
|
@ -171,7 +170,6 @@ class GeneralSettings extends Component {
|
|||
settings={settings}
|
||||
isWindows={isWindows}
|
||||
packageUpdateMechanism={packageUpdateMechanism}
|
||||
isDocker={isDocker}
|
||||
onInputChange={onInputChange}
|
||||
/>
|
||||
|
||||
|
@ -214,7 +212,6 @@ GeneralSettings.propTypes = {
|
|||
hasSettings: PropTypes.bool.isRequired,
|
||||
isWindows: PropTypes.bool.isRequired,
|
||||
isWindowsService: PropTypes.bool.isRequired,
|
||||
isDocker: PropTypes.bool.isRequired,
|
||||
mode: PropTypes.string.isRequired,
|
||||
packageUpdateMechanism: PropTypes.string.isRequired,
|
||||
onInputChange: PropTypes.func.isRequired,
|
||||
|
|
|
@ -26,7 +26,6 @@ function createMapStateToProps() {
|
|||
isResettingApiKey,
|
||||
isWindows: systemStatus.isWindows,
|
||||
isWindowsService: systemStatus.isWindows && systemStatus.mode === 'service',
|
||||
isDocker: systemStatus.isDocker,
|
||||
mode: systemStatus.mode,
|
||||
packageUpdateMechanism: systemStatus.packageUpdateMechanism,
|
||||
...sectionSettings
|
||||
|
|
|
@ -44,16 +44,6 @@ function UpdateSettings(props) {
|
|||
|
||||
updateOptions.push({ key: 'script', value: 'Script' });
|
||||
|
||||
if (isDocker) {
|
||||
return (
|
||||
<FieldSet legend={translate('Updates')}>
|
||||
<div>
|
||||
{translate('UpdatingIsDisabledInsideADockerContainerUpdateTheContainerImageInstead')}
|
||||
</div>
|
||||
</FieldSet>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<FieldSet legend={translate('Updates')}>
|
||||
<FormGroup
|
||||
|
@ -145,7 +135,6 @@ UpdateSettings.propTypes = {
|
|||
advancedSettings: PropTypes.bool.isRequired,
|
||||
settings: PropTypes.object.isRequired,
|
||||
isWindows: PropTypes.bool.isRequired,
|
||||
isDocker: PropTypes.bool.isRequired,
|
||||
packageUpdateMechanism: PropTypes.string.isRequired,
|
||||
onInputChange: PropTypes.func.isRequired
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue