Fix loading of custom themes

This commit is contained in:
pietervdvn 2022-02-04 13:17:50 +01:00
parent 9ff4323ec6
commit b08adc7fc9

View file

@ -143,8 +143,8 @@ export default class DetermineLayout {
tagRenderings: SharedTagRenderings.SharedTagRenderingJson, tagRenderings: SharedTagRenderings.SharedTagRenderingJson,
sharedLayers: knownLayersDict sharedLayers: knownLayersDict
} }
json = new FixLegacyTheme().convertStrict(converState, json, "While loading a dynamic theme") json = new FixLegacyTheme().convertStrict(json, "While loading a dynamic theme")
json = new PrepareTheme().convertStrict(converState, json, "While preparing a dynamic theme") json = new PrepareTheme(converState).convertStrict(json, "While preparing a dynamic theme")
console.log("The layoutconfig is ", json) console.log("The layoutconfig is ", json)
return json return json
} }