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.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js
index 3d9542245..ab5d762c7 100644
--- a/src/stores/FeaturesStore.js
+++ b/src/stores/FeaturesStore.js
@@ -21,6 +21,8 @@ import serviceLimit from '../features/serviceLimit';
21import communityRecipes from '../features/communityRecipes'; 21import communityRecipes from '../features/communityRecipes';
22import todos from '../features/todos'; 22import todos from '../features/todos';
23import accentColor from '../features/accentColor'; 23import accentColor from '../features/accentColor';
24import planSelection from '../features/planSelection';
25import trialStatusBar from '../features/trialStatusBar';
24 26
25import { DEFAULT_FEATURES_CONFIG } from '../config'; 27import { DEFAULT_FEATURES_CONFIG } from '../config';
26 28
@@ -67,6 +69,7 @@ export default class FeaturesStore extends Store {
67 if (this.stores.user.isLoggedIn) { 69 if (this.stores.user.isLoggedIn) {
68 this.featuresRequest.invalidate({ immediately: true }); 70 this.featuresRequest.invalidate({ immediately: true });
69 } else { 71 } else {
72 this.defaultFeaturesRequest.execute();
70 this.defaultFeaturesRequest.invalidate({ immediately: true }); 73 this.defaultFeaturesRequest.invalidate({ immediately: true });
71 } 74 }
72 } 75 }
@@ -85,5 +88,7 @@ export default class FeaturesStore extends Store {
85 communityRecipes(this.stores, this.actions); 88 communityRecipes(this.stores, this.actions);
86 todos(this.stores, this.actions); 89 todos(this.stores, this.actions);
87 accentColor(this.stores, this.actions); 90 accentColor(this.stores, this.actions);
91 planSelection(this.stores, this.actions);
92 trialStatusBar(this.stores, this.actions);
88 } 93 }
89} 94}