1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Store client features in frontend store

This commit is contained in:
Andrew Kingston 2021-07-07 13:54:21 +01:00
parent 54236ee031
commit 7040ee48f4

View file

@ -32,6 +32,10 @@ const INITIAL_FRONTEND_STATE = {
layouts: [],
screens: [],
components: [],
clientFeatures: {
spectrumThemes: false,
intelligentLoading: false,
},
currentFrontEndType: "none",
selectedScreenId: "",
selectedLayoutId: "",
@ -56,6 +60,10 @@ export const getFrontendStore = () => {
...state,
libraries: application.componentLibraries,
components,
clientFeatures: {
...state.clientFeatures,
...components.features,
},
name: application.name,
description: application.description,
appId: application.appId,