fix(views/table): refreshing of columns

This commit is contained in:
Elian Doran 2025-06-28 16:39:24 +03:00
parent f528fa25d1
commit b2d20af51a
No known key found for this signature in database

View File

@ -209,9 +209,7 @@ export default class TableView extends ViewMode<StateInfo> {
attributes.isAffecting(attr, this.parentNote))) {
const info = getPromotedAttributeInformation(this.parentNote);
const columnDefs = buildColumnDefinitions(info);
this.api?.updateGridOptions({
columnDefs
})
this.api?.setColumns(columnDefs)
}
if (loadResults.getBranchRows().some(branch => branch.parentNoteId === this.parentNote.noteId)) {