forked from MapComplete/MapComplete
		
	Way to much fixes and improvements
This commit is contained in:
		
							parent
							
								
									e68d9d99a5
								
							
						
					
					
						commit
						5ed0bb431c
					
				
					 41 changed files with 1244 additions and 402 deletions
				
			
		|  | @ -53,7 +53,7 @@ export class SimpleAddUI extends UIElement { | |||
| 
 | ||||
|                     if (typeof (preset.icon) !== "string") { | ||||
|                         const tags = Utils.MergeTags(TagUtils.KVtoProperties(preset.tags), {id:"node/-1"}); | ||||
|                         icon = preset.icon.GetContent(tags); | ||||
|                         icon = preset.icon.GetContent(tags).txt; | ||||
|                     } else { | ||||
|                         icon = preset.icon; | ||||
|                     } | ||||
|  | @ -193,7 +193,7 @@ export class SimpleAddUI extends UIElement { | |||
|             return new Combine([header, Translations.t.general.add.stillLoading]).Render() | ||||
|         } | ||||
| 
 | ||||
|         return header.Render() + new Combine(this._addButtons, "add-popup-all-buttons").Render(); | ||||
|         return header.Render() + new Combine(this._addButtons).SetClass("add-popup-all-buttons").Render(); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue