diff options
Diffstat (limited to 'src/stores/FeaturesStore.js')
-rw-r--r-- | src/stores/FeaturesStore.js | 5 |
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'; | |||
21 | import communityRecipes from '../features/communityRecipes'; | 21 | import communityRecipes from '../features/communityRecipes'; |
22 | import todos from '../features/todos'; | 22 | import todos from '../features/todos'; |
23 | import accentColor from '../features/accentColor'; | 23 | import accentColor from '../features/accentColor'; |
24 | import planSelection from '../features/planSelection'; | ||
25 | import trialStatusBar from '../features/trialStatusBar'; | ||
24 | 26 | ||
25 | import { DEFAULT_FEATURES_CONFIG } from '../config'; | 27 | import { 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 | } |