diff options
author | 2019-09-12 09:14:50 +0200 | |
---|---|---|
committer | 2019-09-12 09:14:50 +0200 | |
commit | 8933d731180daf391257d659a151bb8c1cbd075a (patch) | |
tree | 98f104c19fc2a3b521f8d1a0a0ef8f5ccd37ffdc /src/stores | |
parent | Update generated i18n changes (diff) | |
download | ferdium-app-8933d731180daf391257d659a151bb8c1cbd075a.tar.gz ferdium-app-8933d731180daf391257d659a151bb8c1cbd075a.tar.zst ferdium-app-8933d731180daf391257d659a151bb8c1cbd075a.zip |
Fix wrong reference to keepAllWorkspacesLoaded
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index dcffb57ac..d1fd2be3d 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -121,7 +121,8 @@ export default class ServicesStore extends Store { | |||
121 | 121 | ||
122 | // This is just used to avoid unnecessary rerendering of resource-heavy webviews | 122 | // This is just used to avoid unnecessary rerendering of resource-heavy webviews |
123 | @computed get allDisplayedUnordered() { | 123 | @computed get allDisplayedUnordered() { |
124 | const { showDisabledServices, keepAllWorkspacesLoaded } = this.stores.settings.all.app; | 124 | const { showDisabledServices } = this.stores.settings.all.app; |
125 | const { keepAllWorkspacesLoaded } = this.stores.workspaces.settings; | ||
125 | const services = this.allServicesRequest.execute().result || []; | 126 | const services = this.allServicesRequest.execute().result || []; |
126 | const filteredServices = showDisabledServices ? services : services.filter(service => service.isEnabled); | 127 | const filteredServices = showDisabledServices ? services : services.filter(service => service.isEnabled); |
127 | return keepAllWorkspacesLoaded ? filteredServices : workspaceStore.filterServicesByActiveWorkspace(filteredServices); | 128 | return keepAllWorkspacesLoaded ? filteredServices : workspaceStore.filterServicesByActiveWorkspace(filteredServices); |