This commit is contained in:
Rizky 2024-03-17 15:34:17 +07:00
parent 97c01221d7
commit 9d1b1ca5b3
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -89,6 +89,7 @@ export const treeRebuild = async (p: PG, arg?: { note?: string }) => {
p.site.layout.id === p.page.cur.id &&
arg?.note === "load-layout page-init";
console.log("component loading", p.comp.list, p.comp.loaded);
for (const [k, v] of Object.entries(p.comp.list)) {
if (!p.comp.loaded[k]) {
const mcomp = v.doc.getMap("map").get("root");