fix(views/table): not reacting to title changes

This commit is contained in:
Elian Doran
2025-07-13 21:33:47 +03:00
parent b93a4a3e42
commit 3720ab6df6
2 changed files with 3 additions and 6 deletions

View File

@@ -231,11 +231,9 @@ export default class TableView extends ViewMode<StateInfo> {
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();
}

View File

@@ -67,6 +67,5 @@ export default function getPromotedAttributeInformation(parentNote: FNote) {
type
});
}
console.log("Promoted attribute information", info);
return info;
}