diff options
author | 2022-05-01 17:32:30 -0500 | |
---|---|---|
committer | 2022-05-01 22:32:30 +0000 | |
commit | 0bcf603bbb39d984b1ebea9ce73741b524434c5c (patch) | |
tree | 17d9e7acb4182d2445bf7b18d3ea46cc514ca61a /src/containers/settings/EditSettingsScreen.js | |
parent | 6.0.0-nightly.22 [skip ci] (diff) | |
download | ferdium-app-0bcf603bbb39d984b1ebea9ce73741b524434c5c.tar.gz ferdium-app-0bcf603bbb39d984b1ebea9ce73741b524434c5c.tar.zst ferdium-app-0bcf603bbb39d984b1ebea9ce73741b524434c5c.zip |
Resurrect the electron-process-manager for Ferdium (#80)
Diffstat (limited to 'src/containers/settings/EditSettingsScreen.js')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index e4f7c13f1..c3f2b4415 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -1,3 +1,4 @@ | |||
1 | import { ipcRenderer } from 'electron'; | ||
1 | import { Component } from 'react'; | 2 | import { Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
3 | import { inject, observer } from 'mobx-react'; | 4 | import { inject, observer } from 'mobx-react'; |
@@ -373,6 +374,10 @@ class EditSettingsScreen extends Component { | |||
373 | } | 374 | } |
374 | } | 375 | } |
375 | 376 | ||
377 | openProcessManager() { | ||
378 | ipcRenderer.send('openProcessManager'); | ||
379 | } | ||
380 | |||
376 | prepareForm() { | 381 | prepareForm() { |
377 | const { app, settings, user, todos, workspaces } = this.props.stores; | 382 | const { app, settings, user, todos, workspaces } = this.props.stores; |
378 | const { intl } = this.props; | 383 | const { intl } = this.props; |
@@ -771,6 +776,7 @@ class EditSettingsScreen extends Component { | |||
771 | isUsingCustomTodoService={ | 776 | isUsingCustomTodoService={ |
772 | this.props.stores.todos.isUsingCustomTodoService | 777 | this.props.stores.todos.isUsingCustomTodoService |
773 | } | 778 | } |
779 | openProcessManager={() => this.openProcessManager()} | ||
774 | hasAddedTodosAsService={services.isTodosServiceAdded} | 780 | hasAddedTodosAsService={services.isTodosServiceAdded} |
775 | isOnline={app.isOnline} | 781 | isOnline={app.isOnline} |
776 | /> | 782 | /> |