aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-18 22:34:46 +0100
committerLibravatar GitHub <noreply@github.com>2017-11-18 22:34:46 +0100
commit3da65653c4f6866f048d60f87c20217376679bc6 (patch)
tree9b3495674c4381feaf5f35e92de97a1b54d9b08e /src/stores/ServicesStore.js
parentFix typos (diff)
parentallow service to be reattached properly after re-enabling service (diff)
downloadferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.tar.gz
ferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.tar.zst
ferdium-app-3da65653c4f6866f048d60f87c20217376679bc6.zip
Merge pull request #294 from meetfranz/feature/192-display-disabled-services
[PR] Disable/Enable service optimizations
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index 87d31c0c5..9af5d81da 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -547,6 +547,8 @@ export default class ServicesStore extends Store {
547 547
548 if (service) { 548 if (service) {
549 const loop = () => { 549 const loop = () => {
550 if (!service.webview) return;
551
550 service.webview.send('poll'); 552 service.webview.send('poll');
551 553
552 setTimeout(loop, delay); 554 setTimeout(loop, delay);