diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-07-19 15:02:21 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-07-19 15:02:21 +0200 |
commit | 86f4814dd5eac4d8852a1e5a360977ba64d05897 (patch) | |
tree | fafab1227432f318c408d4454adcdcc7978da48c /src/stores/lib | |
parent | Add production and dev urls for todos frontend (diff) | |
parent | Update changelog (diff) | |
download | ferdium-app-86f4814dd5eac4d8852a1e5a360977ba64d05897.tar.gz ferdium-app-86f4814dd5eac4d8852a1e5a360977ba64d05897.tar.zst ferdium-app-86f4814dd5eac4d8852a1e5a360977ba64d05897.zip |
Merge branch 'release/5.2.0' into feature/todos
Diffstat (limited to 'src/stores/lib')
-rw-r--r-- | src/stores/lib/Reaction.js | 6 |
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 | } |