wip fix
This commit is contained in:
parent
7a5822433d
commit
0adcdcd699
|
|
@ -147,7 +147,6 @@ export const reloadPage = async (
|
|||
}
|
||||
|
||||
if (remotePage.comps) {
|
||||
console.log("page comps", remotePage.comps);
|
||||
for (const [id_comp, c] of Object.entries(remotePage.comps)) {
|
||||
if (c && c.snapshot) {
|
||||
await loadCompSnapshot(p, id_comp, c.snapshot);
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ const map_childs = (
|
|||
paths.push([...(curpath || []), meta]);
|
||||
if (meta.item.component?.id && meta.item.component?.props) {
|
||||
for (const [name, prop] of Object.entries(meta.item.component.props)) {
|
||||
if (prop.meta?.type === "content-element" && prop.content) {
|
||||
if (prop.content) {
|
||||
map_childs(monaco, p, metas, [prop.content], paths, [
|
||||
...(curpath || []),
|
||||
meta,
|
||||
|
|
|
|||
Loading…
Reference in New Issue