diff options
author | 2019-09-11 14:17:13 +0200 | |
---|---|---|
committer | 2019-09-11 14:17:13 +0200 | |
commit | ddab3a88b297fe244971b0d4fb9ff3fca3a8a1fe (patch) | |
tree | 4d1df67bd12c0a4f82c483f1c2d4f6c9e20c4281 /src/components | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-ddab3a88b297fe244971b0d4fb9ff3fca3a8a1fe.tar.gz ferdium-app-ddab3a88b297fe244971b0d4fb9ff3fca3a8a1fe.tar.zst ferdium-app-ddab3a88b297fe244971b0d4fb9ff3fca3a8a1fe.zip |
feat(Workspaces): Setting to keep all workspaces loaded
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index ff30daed2..0b69f7514 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -102,6 +102,7 @@ export default @observer class EditSettingsForm extends Component { | |||
102 | cacheSize: PropTypes.string.isRequired, | 102 | cacheSize: PropTypes.string.isRequired, |
103 | isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired, | 103 | isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired, |
104 | isTodosEnabled: PropTypes.bool.isRequired, | 104 | isTodosEnabled: PropTypes.bool.isRequired, |
105 | isWorkspaceEnabled: PropTypes.bool.isRequired, | ||
105 | }; | 106 | }; |
106 | 107 | ||
107 | static contextTypes = { | 108 | static contextTypes = { |
@@ -133,6 +134,7 @@ export default @observer class EditSettingsForm extends Component { | |||
133 | cacheSize, | 134 | cacheSize, |
134 | isSpellcheckerIncludedInCurrentPlan, | 135 | isSpellcheckerIncludedInCurrentPlan, |
135 | isTodosEnabled, | 136 | isTodosEnabled, |
137 | isWorkspaceEnabled, | ||
136 | } = this.props; | 138 | } = this.props; |
137 | const { intl } = this.context; | 139 | const { intl } = this.context; |
138 | 140 | ||
@@ -164,6 +166,9 @@ export default @observer class EditSettingsForm extends Component { | |||
164 | {process.platform === 'win32' && ( | 166 | {process.platform === 'win32' && ( |
165 | <Toggle field={form.$('minimizeToSystemTray')} /> | 167 | <Toggle field={form.$('minimizeToSystemTray')} /> |
166 | )} | 168 | )} |
169 | {isWorkspaceEnabled && ( | ||
170 | <Toggle field={form.$('keepAllWorkspacesLoaded')} /> | ||
171 | )} | ||
167 | {isTodosEnabled && ( | 172 | {isTodosEnabled && ( |
168 | <Toggle field={form.$('enableTodos')} /> | 173 | <Toggle field={form.$('enableTodos')} /> |
169 | )} | 174 | )} |