diff options
author | 2019-03-26 13:47:54 +0100 | |
---|---|---|
committer | 2019-03-26 13:47:54 +0100 | |
commit | d05a8efffadd926165d516d6efd8c8b893648ebe (patch) | |
tree | c96d3ad7e111c50ffd9054f8728ce204460e2948 /src/stores | |
parent | reset api requests when workspace feature is stopped (diff) | |
download | ferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.tar.gz ferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.tar.zst ferdium-app-d05a8efffadd926165d516d6efd8c8b893648ebe.zip |
hide workspace feature if it is disabled
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/FeaturesStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js index b7130904b..2bda82e17 100644 --- a/src/stores/FeaturesStore.js +++ b/src/stores/FeaturesStore.js | |||
@@ -23,7 +23,7 @@ export default class FeaturesStore extends Store { | |||
23 | ]); | 23 | ]); |
24 | 24 | ||
25 | await this.featuresRequest._promise; | 25 | await this.featuresRequest._promise; |
26 | setTimeout(this._enableFeatures.bind(this), 1); | 26 | setTimeout(this._setupFeatures.bind(this), 1); |
27 | 27 | ||
28 | // single key reaction | 28 | // single key reaction |
29 | reaction(() => this.stores.user.data.isPremium, () => { | 29 | reaction(() => this.stores.user.data.isPremium, () => { |
@@ -53,7 +53,7 @@ export default class FeaturesStore extends Store { | |||
53 | } | 53 | } |
54 | } | 54 | } |
55 | 55 | ||
56 | _enableFeatures() { | 56 | _setupFeatures() { |
57 | delayApp(this.stores, this.actions); | 57 | delayApp(this.stores, this.actions); |
58 | spellchecker(this.stores, this.actions); | 58 | spellchecker(this.stores, this.actions); |
59 | serviceProxy(this.stores, this.actions); | 59 | serviceProxy(this.stores, this.actions); |