mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	add support for number precision in promoted attributes, closes #245
This commit is contained in:
		| @@ -67,7 +67,8 @@ function AttributesModel() { | ||||
|             attr.labelDefinition = (attr.type === 'label-definition' && attr.value) ? attr.value : { | ||||
|                 labelType: "text", | ||||
|                 multiplicityType: "singlevalue", | ||||
|                 isPromoted: true | ||||
|                 isPromoted: true, | ||||
|                 numberPrecision: 0 | ||||
|             }; | ||||
|  | ||||
|             attr.relationDefinition = (attr.type === 'relation-definition' && attr.value) ? attr.value : { | ||||
| @@ -187,7 +188,8 @@ function AttributesModel() { | ||||
|                 labelDefinition: { | ||||
|                     labelType: "text", | ||||
|                     multiplicityType: "singlevalue", | ||||
|                     isPromoted: true | ||||
|                     isPromoted: true, | ||||
|                     numberPrecision: 0 | ||||
|                 }, | ||||
|                 relationDefinition: { | ||||
|                     multiplicityType: "singlevalue", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user