aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-09-12 09:48:12 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-09-12 09:48:12 +0200
commit8884afef941c94ca8273d612bc75ea75e8f82c44 (patch)
tree21a2a828ca6e90da8494157020f1943e67bc9be5 /src/components
parentfix linting issues (diff)
parentMerge pull request #1606 from meetfranz/feature/keep-all-workspaces-loaded-op... (diff)
downloadferdium-app-8884afef941c94ca8273d612bc75ea75e8f82c44.tar.gz
ferdium-app-8884afef941c94ca8273d612bc75ea75e8f82c44.tar.zst
ferdium-app-8884afef941c94ca8273d612bc75ea75e8f82c44.zip
Merge branch 'develop' of https://github.com/meetfranz/franz into develop
Diffstat (limited to 'src/components')
-rw-r--r--src/components/settings/settings/EditSettingsForm.js5
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 )}