diff --git a/frontend/src/Settings/General/GeneralSettings.js b/frontend/src/Settings/General/GeneralSettings.js index cd8942e47..1e9d56515 100644 --- a/frontend/src/Settings/General/GeneralSettings.js +++ b/frontend/src/Settings/General/GeneralSettings.js @@ -100,7 +100,6 @@ class GeneralSettings extends Component { settings, hasSettings, isResettingApiKey, - isMono, isWindows, isWindowsService, mode, @@ -166,7 +165,7 @@ class GeneralSettings extends Component { @@ -208,7 +207,6 @@ GeneralSettings.propTypes = { settings: PropTypes.object.isRequired, isResettingApiKey: PropTypes.bool.isRequired, hasSettings: PropTypes.bool.isRequired, - isMono: PropTypes.bool.isRequired, isWindows: PropTypes.bool.isRequired, isWindowsService: PropTypes.bool.isRequired, mode: PropTypes.string.isRequired, diff --git a/frontend/src/Settings/General/GeneralSettingsConnector.js b/frontend/src/Settings/General/GeneralSettingsConnector.js index c72566ce6..18b23a950 100644 --- a/frontend/src/Settings/General/GeneralSettingsConnector.js +++ b/frontend/src/Settings/General/GeneralSettingsConnector.js @@ -24,7 +24,6 @@ function createMapStateToProps() { return { advancedSettings, isResettingApiKey, - isMono: systemStatus.isMono, isWindows: systemStatus.isWindows, isWindowsService: systemStatus.isWindows && systemStatus.mode === 'service', mode: systemStatus.mode, diff --git a/frontend/src/Settings/General/UpdateSettings.js b/frontend/src/Settings/General/UpdateSettings.js index c572cd3e1..ae18dc987 100644 --- a/frontend/src/Settings/General/UpdateSettings.js +++ b/frontend/src/Settings/General/UpdateSettings.js @@ -16,7 +16,7 @@ function UpdateSettings(props) { const { advancedSettings, settings, - isMono, + isWindows, packageUpdateMechanism, onInputChange } = props; @@ -68,7 +68,8 @@ function UpdateSettings(props) { { - isMono && + isWindows ? + null :
{ - isMono && + isWindows ? + null : { - advancedSettings && isMono && + advancedSettings && !isWindows &&
@@ -432,7 +433,7 @@ MediaManagement.propTypes = { error: PropTypes.object, settings: PropTypes.object.isRequired, hasSettings: PropTypes.bool.isRequired, - isMono: PropTypes.bool.isRequired, + isWindows: PropTypes.bool.isRequired, onSavePress: PropTypes.func.isRequired, onInputChange: PropTypes.func.isRequired }; diff --git a/frontend/src/Settings/MediaManagement/MediaManagementConnector.js b/frontend/src/Settings/MediaManagement/MediaManagementConnector.js index 297d88c2e..9d6f959b8 100644 --- a/frontend/src/Settings/MediaManagement/MediaManagementConnector.js +++ b/frontend/src/Settings/MediaManagement/MediaManagementConnector.js @@ -22,7 +22,7 @@ function createMapStateToProps() { advancedSettings, ...sectionSettings, hasPendingChanges: !_.isEmpty(namingSettings.pendingChanges) || sectionSettings.hasPendingChanges, - isMono: systemStatus.isMono + isWindows: systemStatus.isWindows }; } );