mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	also don't show "No results" for attr autocomplete
This commit is contained in:
		| @@ -25,10 +25,6 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) { | |||||||
|                     return {name}; |                     return {name}; | ||||||
|                 }); |                 }); | ||||||
|  |  | ||||||
|                 if (result.length === 0) { |  | ||||||
|                     result.push({name: "No results"}); |  | ||||||
|                 } |  | ||||||
|  |  | ||||||
|                 cb(result); |                 cb(result); | ||||||
|             } |             } | ||||||
|         }]); |         }]); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user