feat(views/table): support recursive children update

This commit is contained in:
Elian Doran
2025-07-14 13:12:54 +03:00
parent 8c56315313
commit 402540f483
4 changed files with 35 additions and 26 deletions

View File

@@ -259,6 +259,7 @@ class FNote {
async getSubtreeNoteIds() {
let noteIds: (string | string[])[] = [];
for (const child of await this.getChildNotes()) {
noteIds.push(child.noteId);
noteIds.push(await child.getSubtreeNoteIds());
}
return noteIds.flat();