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 4294d32d3..b6ec8ae13 100644 --- a/apps/client/src/widgets/view_widgets/table_view/index.ts +++ b/apps/client/src/widgets/view_widgets/table_view/index.ts @@ -231,11 +231,9 @@ export default class TableView extends ViewMode { this.#manageColumnUpdate(); } - if (loadResults.getBranchRows().some(branch => branch.parentNoteId === this.parentNote.noteId)) { - this.#manageRowsUpdate(); - } - - if (loadResults.getAttributeRows().some(attr => this.args.noteIds.includes(attr.noteId!))) { + if (loadResults.getBranchRows().some(branch => branch.parentNoteId === this.parentNote.noteId) + || loadResults.getNoteIds().some(noteId => this.args.noteIds.includes(noteId) + || loadResults.getAttributeRows().some(attr => this.args.noteIds.includes(attr.noteId!)))) { this.#manageRowsUpdate(); } diff --git a/apps/client/src/widgets/view_widgets/table_view/rows.ts b/apps/client/src/widgets/view_widgets/table_view/rows.ts index 04580150c..288274408 100644 --- a/apps/client/src/widgets/view_widgets/table_view/rows.ts +++ b/apps/client/src/widgets/view_widgets/table_view/rows.ts @@ -67,6 +67,5 @@ export default function getPromotedAttributeInformation(parentNote: FNote) { type }); } - console.log("Promoted attribute information", info); return info; }