mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(views/table): refresh when relation changes
This commit is contained in:
@@ -217,7 +217,7 @@ export default class TableView extends ViewMode<StateInfo> {
|
||||
// Refresh if promoted attributes get changed.
|
||||
if (loadResults.getAttributeRows().find(attr =>
|
||||
attr.type === "label" &&
|
||||
attr.name?.startsWith("label:") &&
|
||||
(attr.name?.startsWith("label:") || attr.name?.startsWith("relation:")) &&
|
||||
attributes.isAffecting(attr, this.parentNote))) {
|
||||
this.#manageColumnUpdate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user