diff options
author | 2019-10-06 15:36:01 +0200 | |
---|---|---|
committer | 2019-10-06 15:36:01 +0200 | |
commit | ef6fbfbd0821a98ff167aaa5f31f522877cf94b1 (patch) | |
tree | b7b5265b899f8d09a65bc83e949fbc397df76235 /src/components | |
parent | Add option to choose hibernation strategy (diff) | |
download | ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.tar.gz ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.tar.zst ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.zip |
Add Electron Process Manager
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index a15b4c255..1030f3164 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -152,6 +152,7 @@ export default @observer class EditSettingsForm extends Component { | |||
152 | server: PropTypes.string.isRequired, | 152 | server: PropTypes.string.isRequired, |
153 | noUpdates: PropTypes.bool.isRequired, | 153 | noUpdates: PropTypes.bool.isRequired, |
154 | hibernationEnabled: PropTypes.bool.isRequired, | 154 | hibernationEnabled: PropTypes.bool.isRequired, |
155 | openProcessManager: PropTypes.func.isRequired, | ||
155 | }; | 156 | }; |
156 | 157 | ||
157 | static contextTypes = { | 158 | static contextTypes = { |
@@ -187,6 +188,7 @@ export default @observer class EditSettingsForm extends Component { | |||
187 | server, | 188 | server, |
188 | noUpdates, | 189 | noUpdates, |
189 | hibernationEnabled, | 190 | hibernationEnabled, |
191 | openProcessManager, | ||
190 | } = this.props; | 192 | } = this.props; |
191 | const { intl } = this.context; | 193 | const { intl } = this.context; |
192 | 194 | ||
@@ -419,6 +421,16 @@ export default @observer class EditSettingsForm extends Component { | |||
419 | loaded={!isClearingAllCache} | 421 | loaded={!isClearingAllCache} |
420 | /> | 422 | /> |
421 | </p> | 423 | </p> |
424 | <div style={{ | ||
425 | marginTop: 20, | ||
426 | }} | ||
427 | > | ||
428 | <Button | ||
429 | buttonType="secondary" | ||
430 | label="Open Process Manager" | ||
431 | onClick={openProcessManager} | ||
432 | /> | ||
433 | </div> | ||
422 | </div> | 434 | </div> |
423 | 435 | ||
424 | {/* Updates */} | 436 | {/* Updates */} |