wip ed route
This commit is contained in:
parent
8a308bec82
commit
fc85ef7542
File diff suppressed because one or more lines are too long
|
|
@ -147,6 +147,7 @@ export const reloadPage = async (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remotePage.comps) {
|
if (remotePage.comps) {
|
||||||
|
console.log("page comps", remotePage.comps);
|
||||||
for (const [id_comp, c] of Object.entries(remotePage.comps)) {
|
for (const [id_comp, c] of Object.entries(remotePage.comps)) {
|
||||||
if (c && c.snapshot) {
|
if (c && c.snapshot) {
|
||||||
await loadCompSnapshot(p, id_comp, c.snapshot);
|
await loadCompSnapshot(p, id_comp, c.snapshot);
|
||||||
|
|
@ -177,7 +178,7 @@ export const reloadPage = async (
|
||||||
location.reload();
|
location.reload();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await p.sync.yjs.sv_local(
|
const res = await p.sync.yjs.sv_local(
|
||||||
"page",
|
"page",
|
||||||
p.page.cur.id,
|
p.page.cur.id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue