Fix loading of themes from external sources

This commit is contained in:
Pieter Vander Vennet 2021-10-27 19:57:15 +02:00
parent d5f4572e9a
commit bec7ed6da6
3 changed files with 8 additions and 13 deletions

View file

@ -304,7 +304,6 @@ export default class LayoutConfig {
}
rewriting.forEach((value, key) => {
console.log("Rewriting", key, "==>", value)
originalJson = originalJson.replace(new RegExp(key, "g"), value)
})
return new LayoutConfig(JSON.parse(originalJson), false, "Layout rewriting")