forked from MapComplete/MapComplete
		
	Merge develop
This commit is contained in:
		
						commit
						423618847b
					
				
					 334 changed files with 9307 additions and 6025 deletions
				
			
		|  | @ -571,6 +571,13 @@ class DetectInline extends DesugaringStep<QuestionableTagRenderingConfigJson> { | |||
|             context.err("'freeform' is a string, but should be an object") | ||||
|             return json | ||||
|         } | ||||
| 
 | ||||
|         if(!Object.values(json.render).some(render => render !== "{"+json.freeform.key+"}")){ | ||||
|             // We only render the current value, without anything more. Not worth inlining
 | ||||
|             return json | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         json.freeform.inline ??= true | ||||
|         return json | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue