mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix relation definition in dialog
This commit is contained in:
		| @@ -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 | ||||
|             }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user