mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix relation definition in dialog
This commit is contained in:
parent
99d81059d0
commit
1938c317c3
@ -67,7 +67,8 @@ function AttributesModel() {
|
||||
multiplicityType: "singlevalue",
|
||||
isPromoted: true
|
||||
};
|
||||
attr.relationDefinition = attr.type === ('relation-definition' && attr.value) ? attr.value : {
|
||||
|
||||
attr.relationDefinition = (attr.type === 'relation-definition' && attr.value) ? attr.value : {
|
||||
multiplicityType: "singlevalue",
|
||||
isPromoted: true
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user