forked from MapComplete/MapComplete
		
	More work on the theme generator
This commit is contained in:
		
							parent
							
								
									cd37d8db98
								
							
						
					
					
						commit
						0f433d026a
					
				
					 13 changed files with 340 additions and 87 deletions
				
			
		|  | @ -118,7 +118,7 @@ export class FeatureInfoBox extends UIElement { | |||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             questionsHtml = mostImportantQuestion.Render(); | ||||
|             questionsHtml = mostImportantQuestion?.Render() ?? ""; | ||||
|         } else if (questions.length > 0) { | ||||
|             // We select the most important question and render that one
 | ||||
|             let mostImportantQuestion; | ||||
|  | @ -131,7 +131,7 @@ export class FeatureInfoBox extends UIElement { | |||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             questionsHtml = mostImportantQuestion.Render(); | ||||
|             questionsHtml = mostImportantQuestion?.Render() ?? ""; | ||||
|         } else if (skippedQuestions == 1) { | ||||
|             questionsHtml = this._oneSkipped.Render(); | ||||
|         } else if (skippedQuestions > 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue