diff --git a/src/document.ts b/src/document.ts index 47a25d1..e1b1d07 100644 --- a/src/document.ts +++ b/src/document.ts @@ -413,7 +413,7 @@ export class List { this.itemIds.splice(priority, 0, newId); - const parentid = this.id === "home" ? ROOT : this.id; + const parentid = this.id === ROOT ? "None" : this.id; this.#companion.addOperation(this.data.treeId, { type: "create",