mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
hide auto links by default in relation map, allow configuring displayed relations, fixes #1674
This commit is contained in:
@@ -276,7 +276,7 @@ export default class NoteDetailWidget extends TabAwareWidget {
|
||||
|
||||
const label = attrs.find(attr =>
|
||||
attr.type === 'label'
|
||||
&& ['readOnly', 'autoReadOnlyDisabled', 'cssClass', 'bookZoomLevel'].includes(attr.name)
|
||||
&& ['readOnly', 'autoReadOnlyDisabled', 'cssClass', 'bookZoomLevel', 'displayRelations'].includes(attr.name)
|
||||
&& attr.isAffecting(this.note));
|
||||
|
||||
const relation = attrs.find(attr =>
|
||||
|
||||
Reference in New Issue
Block a user