forked from MapComplete/MapComplete
		
	Small fix: always show the buttons in the AddUI
This commit is contained in:
		
							parent
							
								
									b1a9b57d03
								
							
						
					
					
						commit
						38635ba8b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -238,7 +238,7 @@ export default class SimpleAddUI extends Toggle { | |||
|         const allButtons = []; | ||||
|         for (const layer of State.state.filteredLayers.data) { | ||||
| 
 | ||||
|             if (layer.isDisplayed.data === false && State.state.featureSwitchFilter.data) { | ||||
|             if (layer.isDisplayed.data === false && !State.state.featureSwitchFilter.data) { | ||||
|                 // The layer is not displayed and we cannot enable the layer control -> we skip
 | ||||
|                 continue; | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue