forked from MapComplete/MapComplete
		
	Butchering the UI framework
This commit is contained in:
		
							parent
							
								
									8d404b1ba9
								
							
						
					
					
						commit
						6415e195d1
					
				
					 90 changed files with 1012 additions and 3101 deletions
				
			
		|  | @ -64,10 +64,10 @@ export default class UserBadge extends UIElement { | |||
| 
 | ||||
|     } | ||||
| 
 | ||||
|     InnerRender(): string { | ||||
|     InnerRender(): UIElement { | ||||
|         const user = this._userDetails.data; | ||||
|         if (!user.loggedIn) { | ||||
|             return this._loginButton.Render(); | ||||
|             return this._loginButton; | ||||
|         } | ||||
| 
 | ||||
|         const linkStyle = "flex items-baseline" | ||||
|  | @ -138,7 +138,7 @@ export default class UserBadge extends UIElement { | |||
|         return new Combine([ | ||||
|             userIcon, | ||||
|             usertext, | ||||
|         ]).Render() | ||||
|         ]) | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue