forked from MapComplete/MapComplete
		
	Full code cleanup
This commit is contained in:
		
							parent
							
								
									3a4a2a2016
								
							
						
					
					
						commit
						fa971ffbbf
					
				
					 300 changed files with 16352 additions and 19284 deletions
				
			
		|  | @ -1,20 +1,19 @@ | |||
| import {SubtleButton} from "../Base/SubtleButton"; | ||||
| import Combine from "../Base/Combine"; | ||||
| import Svg from "../../Svg"; | ||||
| import Translations from "../i18n/Translations"; | ||||
| import BaseUIElement from "../BaseUIElement"; | ||||
| 
 | ||||
| export default class BackToIndex extends SubtleButton { | ||||
|      | ||||
|     constructor(message? : string | BaseUIElement) { | ||||
| 
 | ||||
|     constructor(message?: string | BaseUIElement) { | ||||
|         super( | ||||
|             Svg.back_svg().SetStyle("height: 1.5rem;"), | ||||
|            message ?? Translations.t.general.backToMapcomplete, | ||||
|             message ?? Translations.t.general.backToMapcomplete, | ||||
|             { | ||||
|                 url: "index.html" | ||||
|             } | ||||
|         ) | ||||
|     } | ||||
|      | ||||
|      | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue