forked from MapComplete/MapComplete
		
	Merge branch 'develop' into feature/station-map
This commit is contained in:
		
						commit
						2ae77ee0e8
					
				
					 157 changed files with 4654 additions and 756 deletions
				
			
		|  | @ -602,6 +602,11 @@ export default class LayerConfig extends WithContextLoader { | |||
|             } | ||||
|         } | ||||
| 
 | ||||
|         const filterDocs: (string | BaseUIElement)[]  = [] | ||||
|         if(this.filters.length > 0){ | ||||
|             filterDocs.push(new Title("Filters", 4)) | ||||
|             filterDocs.push(...this.filters.map(filter => filter.GenerateDocs())) | ||||
|         } | ||||
|         return new Combine([ | ||||
|             new Combine([new Title(this.id, 1), iconImg, this.description, "\n"]).SetClass( | ||||
|                 "flex flex-col" | ||||
|  | @ -616,6 +621,7 @@ export default class LayerConfig extends WithContextLoader { | |||
|             new Title("Supported attributes", 2), | ||||
|             quickOverview, | ||||
|             ...this.tagRenderings.map((tr) => tr.GenerateDocumentation()), | ||||
|             ...filterDocs | ||||
|         ]) | ||||
|             .SetClass("flex-col") | ||||
|             .SetClass("link-underline") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue