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