diff options
author | vantezzen <properly@protonmail.com> | 2019-09-13 17:59:46 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-09-13 17:59:46 +0200 |
commit | fb095e4984210ec63c5834d6762dec43457dbc57 (patch) | |
tree | a2c8b353313cb363a56722687e110c6f80f4b791 /src/features/workspaces/store.js | |
parent | Use ferdi namespace on debugger (diff) | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-fb095e4984210ec63c5834d6762dec43457dbc57.tar.gz ferdium-app-fb095e4984210ec63c5834d6762dec43457dbc57.tar.zst ferdium-app-fb095e4984210ec63c5834d6762dec43457dbc57.zip |
Merge branch 'master' of https://github.com/meetfranz/franz into meetfranz-master
Diffstat (limited to 'src/features/workspaces/store.js')
-rw-r--r-- | src/features/workspaces/store.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 1ad136a13..da1582a77 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js | |||
@@ -98,6 +98,7 @@ export default class WorkspacesStore extends FeatureStore { | |||
98 | [workspaceActions.update, this._update], | 98 | [workspaceActions.update, this._update], |
99 | [workspaceActions.activate, this._setActiveWorkspace], | 99 | [workspaceActions.activate, this._setActiveWorkspace], |
100 | [workspaceActions.deactivate, this._deactivateActiveWorkspace], | 100 | [workspaceActions.deactivate, this._deactivateActiveWorkspace], |
101 | [workspaceActions.toggleKeepAllWorkspacesLoadedSetting, this._toggleKeepAllWorkspacesLoadedSetting], | ||
101 | ]); | 102 | ]); |
102 | this._allActions = this._freeUserActions.concat(this._premiumUserActions); | 103 | this._allActions = this._freeUserActions.concat(this._premiumUserActions); |
103 | this._registerActions(this._allActions); | 104 | this._registerActions(this._allActions); |
@@ -246,6 +247,10 @@ export default class WorkspacesStore extends FeatureStore { | |||
246 | await updateWorkspaceRequest.execute(activeWorkspace); | 247 | await updateWorkspaceRequest.execute(activeWorkspace); |
247 | }; | 248 | }; |
248 | 249 | ||
250 | _toggleKeepAllWorkspacesLoadedSetting = async () => { | ||
251 | this._updateSettings({ keepAllWorkspacesLoaded: !this.settings.keepAllWorkspacesLoaded }); | ||
252 | }; | ||
253 | |||
249 | // Reactions | 254 | // Reactions |
250 | 255 | ||
251 | _setFeatureEnabledReaction = () => { | 256 | _setFeatureEnabledReaction = () => { |