forked from MapComplete/MapComplete
		
	Merge upload GPX-tracks to OSM; split 'specialVisualisations' into multiple smaller classes
This commit is contained in:
		
						commit
						8d304f9a56
					
				
					 37 changed files with 1459 additions and 1057 deletions
				
			
		|  | @ -73,13 +73,11 @@ export class SubtleButton extends UIElement { | |||
|             } | ||||
|         }) | ||||
|         const loading = new Lazy(() => new Loading(loadingText)) | ||||
|         return new VariableUiElement( | ||||
|             state.map((st) => { | ||||
|                 if (st === "idle") { | ||||
|                     return button | ||||
|                 } | ||||
|                 return loading | ||||
|             }) | ||||
|         ) | ||||
|         return new VariableUiElement(state.map(st => { | ||||
|             if(st === "idle"){ | ||||
|                 return button | ||||
|             } | ||||
|             return loading | ||||
|         })) | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue