forked from MapComplete/MapComplete
		
	Use proper description in layerconfig
This commit is contained in:
		
							parent
							
								
									f5a4e8cbec
								
							
						
					
					
						commit
						85a6894c92
					
				
					 14 changed files with 113 additions and 14 deletions
				
			
		|  | @ -10,13 +10,14 @@ import {SubtleButton} from "../Base/SubtleButton"; | |||
| import {FixedUiElement} from "../Base/FixedUiElement"; | ||||
| import Translations from "../i18n/Translations"; | ||||
| import * as personal from "../../assets/themes/personalLayout/personalLayout.json" | ||||
| import Locale from "../i18n/Locale"; | ||||
| export default class PersonalLayersPanel extends UIElement { | ||||
|     private checkboxes: UIElement[] = []; | ||||
| 
 | ||||
|     constructor() { | ||||
|         super(State.state.favouriteLayers); | ||||
|         this.ListenTo(State.state.osmConnection.userDetails); | ||||
| 
 | ||||
|         this.ListenTo(Locale.language); | ||||
|         this.UpdateView([]); | ||||
|         const self = this; | ||||
|         State.state.installedThemes.addCallback(extraThemes => { | ||||
|  | @ -35,6 +36,10 @@ export default class PersonalLayersPanel extends UIElement { | |||
|             if (layout.id === personal.id) { | ||||
|                 continue; | ||||
|             } | ||||
|              | ||||
|             if(layout.hideFromOverview){ | ||||
|                 continue; | ||||
|             } | ||||
| 
 | ||||
|             const header = | ||||
|                 new Combine([ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue