aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-11-15 22:10:02 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-11-15 22:10:02 +0100
commit891a7d6642f5e8c4d4f56280e29489524f0d5286 (patch)
tree1cb5b86a5c790f4126dbac5686374eb7937cb093 /src/stores/ServicesStore.js
parentSwitch to npm (diff)
downloadferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.gz
ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.zst
ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.zip
Fix linting errors
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index ccb85421a..4c2992c70 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -93,7 +93,7 @@ export default class ServicesStore extends Store {
93 return this.stores.settings.all.app.showDisabledServices ? this.all : this.enabled; 93 return this.stores.settings.all.app.showDisabledServices ? this.all : this.enabled;
94 } 94 }
95 95
96 // This is just used to avoid unnecessary rerendering of resource-heavy webviews 96 // This is just used to avoid unnecessary rerendering of resource-heavy webviews
97 @computed get allDisplayedUnordered() { 97 @computed get allDisplayedUnordered() {
98 const services = this.allServicesRequest.execute().result || []; 98 const services = this.allServicesRequest.execute().result || [];
99 return this.stores.settings.all.app.showDisabledServices ? services : services.filter(service => service.isEnabled); 99 return this.stores.settings.all.app.showDisabledServices ? services : services.filter(service => service.isEnabled);