Store client features in frontend store
This commit is contained in:
parent
9bf6600ccd
commit
24a2c547eb
|
@ -32,6 +32,10 @@ const INITIAL_FRONTEND_STATE = {
|
||||||
layouts: [],
|
layouts: [],
|
||||||
screens: [],
|
screens: [],
|
||||||
components: [],
|
components: [],
|
||||||
|
clientFeatures: {
|
||||||
|
spectrumThemes: false,
|
||||||
|
intelligentLoading: false,
|
||||||
|
},
|
||||||
currentFrontEndType: "none",
|
currentFrontEndType: "none",
|
||||||
selectedScreenId: "",
|
selectedScreenId: "",
|
||||||
selectedLayoutId: "",
|
selectedLayoutId: "",
|
||||||
|
@ -56,6 +60,10 @@ export const getFrontendStore = () => {
|
||||||
...state,
|
...state,
|
||||||
libraries: application.componentLibraries,
|
libraries: application.componentLibraries,
|
||||||
components,
|
components,
|
||||||
|
clientFeatures: {
|
||||||
|
...state.clientFeatures,
|
||||||
|
...components.features,
|
||||||
|
},
|
||||||
name: application.name,
|
name: application.name,
|
||||||
description: application.description,
|
description: application.description,
|
||||||
appId: application.appId,
|
appId: application.appId,
|
||||||
|
|
Loading…
Reference in New Issue