diff options
Diffstat (limited to 'src/stores/ServicesStore.js')
-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 c02f08201..374daf333 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -121,9 +121,10 @@ export default class ServicesStore extends Store { | |||
121 | // This is just used to avoid unnecessary rerendering of resource-heavy webviews | 121 | // This is just used to avoid unnecessary rerendering of resource-heavy webviews |
122 | @computed get allDisplayedUnordered() { | 122 | @computed get allDisplayedUnordered() { |
123 | const { showDisabledServices } = this.stores.settings.all.app; | 123 | const { showDisabledServices } = this.stores.settings.all.app; |
124 | const { keepAllWorkspacesLoaded } = this.stores.workspaces.settings; | ||
124 | const services = this.allServicesRequest.execute().result || []; | 125 | const services = this.allServicesRequest.execute().result || []; |
125 | const filteredServices = showDisabledServices ? services : services.filter(service => service.isEnabled); | 126 | const filteredServices = showDisabledServices ? services : services.filter(service => service.isEnabled); |
126 | return workspaceStore.filterServicesByActiveWorkspace(filteredServices); | 127 | return keepAllWorkspacesLoaded ? filteredServices : workspaceStore.filterServicesByActiveWorkspace(filteredServices); |
127 | } | 128 | } |
128 | 129 | ||
129 | @computed get filtered() { | 130 | @computed get filtered() { |