aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/FeaturesStore.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-11-25 10:49:34 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2019-11-25 10:49:34 +0100
commitc3a8d26cf4d7ffe3642cdc962e51e367885a9c12 (patch)
tree34d8cf9c8311165a81542d035079a91aa09ff3a6 /src/stores/FeaturesStore.js
parentBump version number (diff)
parentBump version number (diff)
downloadferdium-app-5.4.0.tar.gz
ferdium-app-5.4.0.tar.zst
ferdium-app-5.4.0.zip
Merge branch 'develop'v5.4.0
Diffstat (limited to 'src/stores/FeaturesStore.js')
-rw-r--r--src/stores/FeaturesStore.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js
index ab5d762c7..780cde3a7 100644
--- a/src/stores/FeaturesStore.js
+++ b/src/stores/FeaturesStore.js
@@ -57,7 +57,10 @@ export default class FeaturesStore extends Store {
57 _updateFeatures = () => { 57 _updateFeatures = () => {
58 const features = Object.assign({}, DEFAULT_FEATURES_CONFIG); 58 const features = Object.assign({}, DEFAULT_FEATURES_CONFIG);
59 if (this.stores.user.isLoggedIn) { 59 if (this.stores.user.isLoggedIn) {
60 const requestResult = this.featuresRequest.execute().result; 60 let requestResult = {};
61 try {
62 requestResult = this.featuresRequest.execute().result;
63 } catch (e) {} // eslint-disable-line no-empty
61 Object.assign(features, requestResult); 64 Object.assign(features, requestResult);
62 } 65 }
63 runInAction('FeaturesStore::_updateFeatures', () => { 66 runInAction('FeaturesStore::_updateFeatures', () => {