diff --git a/app/web/src/nova/ed/logic/ed-route.ts b/app/web/src/nova/ed/logic/ed-route.ts index 1586f31d..bbeeed0e 100644 --- a/app/web/src/nova/ed/logic/ed-route.ts +++ b/app/web/src/nova/ed/logic/ed-route.ts @@ -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); diff --git a/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx b/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx index a49f45b6..32f4df7e 100644 --- a/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx +++ b/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx @@ -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,