mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
fix(views/table): refreshing of columns
This commit is contained in:
parent
f528fa25d1
commit
b2d20af51a
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user