aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-07-19 11:31:19 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-07-19 11:31:19 +0200
commit12f72cbe6d2402241f61ee9bd09a462c8dd3a3f6 (patch)
tree5592a81bed14c2bfcbe6542240550a2ad47e1b9e /src/stores
parentMerge branch 'i18n' into release/5.2.0-beta.4 (diff)
parentMerge pull request #1527 from meetfranz/fix/workspaces-not-cleaned-up-on-acco... (diff)
downloadferdium-app-12f72cbe6d2402241f61ee9bd09a462c8dd3a3f6.tar.gz
ferdium-app-12f72cbe6d2402241f61ee9bd09a462c8dd3a3f6.tar.zst
ferdium-app-12f72cbe6d2402241f61ee9bd09a462c8dd3a3f6.zip
Merge branch 'develop' of https://github.com/meetfranz/franz into develop
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/lib/Reaction.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stores/lib/Reaction.js b/src/stores/lib/Reaction.js
index f2642908f..f8009b7f6 100644
--- a/src/stores/lib/Reaction.js
+++ b/src/stores/lib/Reaction.js
@@ -13,15 +13,15 @@ export default class Reaction {
13 13
14 start() { 14 start() {
15 if (!this.isRunning) { 15 if (!this.isRunning) {
16 this.dispose = autorun(() => this.reaction()); 16 this.dispose = autorun(this.reaction);
17 this.isActive = true; 17 this.isRunning = true;
18 } 18 }
19 } 19 }
20 20
21 stop() { 21 stop() {
22 if (this.isRunning) { 22 if (this.isRunning) {
23 this.dispose(); 23 this.dispose();
24 this.isActive = false; 24 this.isRunning = false;
25 } 25 }
26 } 26 }
27} 27}