New: Extra warning for Windows Service issues when prompted to restart

This commit is contained in:
Qstick
2019-08-04 21:42:06 -04:00
parent ba5e80077c
commit fd2fb7da20
2 changed files with 21 additions and 17 deletions
@@ -26,6 +26,7 @@ function createMapStateToProps() {
isResettingApiKey,
isMono: systemStatus.isMono,
isWindows: systemStatus.isWindows,
isWindowsService: systemStatus.isWindows && systemStatus.mode === 'service',
isDocker: systemStatus.isDocker,
mode: systemStatus.mode,
...sectionSettings
@@ -59,7 +60,7 @@ class GeneralSettingsConnector extends Component {
}
componentWillUnmount() {
this.props.clearPendingChanges({ section: 'settings.general' });
this.props.clearPendingChanges({ section: `settings.${SECTION}` });
}
//