aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/FeaturesStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/FeaturesStore.js')
-rw-r--r--src/stores/FeaturesStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js
index 631d0318e..2fee9bdda 100644
--- a/src/stores/FeaturesStore.js
+++ b/src/stores/FeaturesStore.js
@@ -33,7 +33,7 @@ export default class FeaturesStore extends Store {
33 33
34 @observable featuresRequest = new CachedRequest(this.api.features, 'features'); 34 @observable featuresRequest = new CachedRequest(this.api.features, 'features');
35 35
36 @observable features = Object.assign({}, DEFAULT_FEATURES_CONFIG); 36 @observable features = ({ ...DEFAULT_FEATURES_CONFIG });
37 37
38 async setup() { 38 async setup() {
39 this.registerReactions([ 39 this.registerReactions([
@@ -57,7 +57,7 @@ export default class FeaturesStore extends Store {
57 } 57 }
58 58
59 _updateFeatures = () => { 59 _updateFeatures = () => {
60 const features = Object.assign({}, DEFAULT_FEATURES_CONFIG); 60 const features = { ...DEFAULT_FEATURES_CONFIG };
61 if (this.stores.user.isLoggedIn) { 61 if (this.stores.user.isLoggedIn) {
62 let requestResult = {}; 62 let requestResult = {};
63 try { 63 try {