Saul-Mirone
2025-03-07 15:57:12 +00:00
parent 05a6845962
commit dc047aa1a4
2 changed files with 4 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ export class FlatSyncController {
if (key in proxy) {
return;
}
if (value === undefined) return;
proxy[key] = value;
});
}

View File

@@ -302,7 +302,9 @@ export class SyncController {
if (key in props) return;
const yValue = native2Y(value);
this.yBlock.set(`prop:${key}`, yValue);
if (value !== undefined) {
this.yBlock.set(`prop:${key}`, yValue);
}
props[key] = this._getPropsProxy(key, yValue);
});
}