mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
fix(views/table): refreshing of columns
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user