diff options
author | 2018-12-02 00:52:05 +0100 | |
---|---|---|
committer | 2018-12-02 00:52:05 +0100 | |
commit | fce68f7433537d52e15abf1ffe140e8dcc8afe80 (patch) | |
tree | 32b2c8b0c7867434dd2cbcf5e2a1de7a3548dbec /src/stores | |
parent | Merge branch 'develop' into release/5.0.0-beta.19 (diff) | |
parent | Check if service is enabled before trying to reload (diff) | |
download | ferdium-app-fce68f7433537d52e15abf1ffe140e8dcc8afe80.tar.gz ferdium-app-fce68f7433537d52e15abf1ffe140e8dcc8afe80.tar.zst ferdium-app-fce68f7433537d52e15abf1ffe140e8dcc8afe80.zip |
Merge branch 'develop' into release/5.0.0-beta.19
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 8f217ea94..99b091589 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -439,6 +439,8 @@ export default class ServicesStore extends Store { | |||
439 | 439 | ||
440 | @action _reload({ serviceId }) { | 440 | @action _reload({ serviceId }) { |
441 | const service = this.one(serviceId); | 441 | const service = this.one(serviceId); |
442 | if (!service.isEnabled) return; | ||
443 | |||
442 | service.resetMessageCount(); | 444 | service.resetMessageCount(); |
443 | 445 | ||
444 | service.webview.loadURL(service.url); | 446 | service.webview.loadURL(service.url); |