forked from MapComplete/MapComplete
		
	Move AllTagsPanel to separate class; various small fixes
This commit is contained in:
		
							parent
							
								
									27f12b1f9d
								
							
						
					
					
						commit
						9f5c506e17
					
				
					 12 changed files with 85 additions and 411 deletions
				
			
		|  | @ -16,7 +16,7 @@ export class VariableUiElement extends BaseUIElement { | |||
|     } | ||||
| 
 | ||||
|     AsMarkdown(): string { | ||||
|         const d = this._contents.data; | ||||
|         const d = this._contents?.data; | ||||
|         if (typeof d === "string") { | ||||
|             return d; | ||||
|         } | ||||
|  | @ -29,7 +29,7 @@ export class VariableUiElement extends BaseUIElement { | |||
|     protected InnerConstructElement(): HTMLElement { | ||||
|         const el = document.createElement("span"); | ||||
|         const self = this; | ||||
|         this._contents.addCallbackAndRun((contents) => { | ||||
|         this._contents?.addCallbackAndRun((contents) => { | ||||
|             if (self.isDestroyed) { | ||||
|                 return true; | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue