Skip to content

Build your personal knowledge base with Trilium Notes

fix(views/table): not reacting to external attribute changes

Elian Doran9dd0eb7b9bc1
diff --git a/apps/client/src/widgets/view_widgets/table_view/index.ts b/apps/client/src/widgets/view_widgets/table_view/index.ts
index f59a37fb0d..0dd47b27a2 100644
--- a/apps/client/src/widgets/view_widgets/table_view/index.ts
+++ b/apps/client/src/widgets/view_widgets/table_view/index.ts
@@ -219,8 +219,8 @@ export default class TableView extends ViewMode<StateInfo> {
}
if (loadResults.getBranchRows().some(branch => branch.parentNoteId === this.parentNote.noteId || this.noteIds.includes(branch.parentNoteId ?? ""))
- || loadResults.getNoteIds().some(noteId => this.noteIds.includes(noteId)
- || loadResults.getAttributeRows().some(attr => this.noteIds.includes(attr.noteId!)))) {
+ || loadResults.getNoteIds().some(noteId => this.noteIds.includes(noteId))
+ || loadResults.getAttributeRows().some(attr => this.noteIds.includes(attr.noteId!))) {
return await this.#manageRowsUpdate();
}