forked from MapComplete/MapComplete
		
	Fix rendering of multianswers without explicit 'render'-field
This commit is contained in:
		
							parent
							
								
									52d9b2f452
								
							
						
					
					
						commit
						a35b80afbb
					
				
					 11 changed files with 195 additions and 97 deletions
				
			
		|  | @ -196,7 +196,7 @@ export default class OpeningHoursVisualization extends UIElement { | |||
|             // Closed!
 | ||||
|             const opensAtDate = oh.getNextChange(); | ||||
|             if(opensAtDate === undefined){ | ||||
|                 const comm = oh.getComment(); | ||||
|                 const comm = oh.getComment() ?? oh.getUnknown(); | ||||
|                 if(comm !== undefined){ | ||||
|                     return new FixedUiElement(comm).SetClass("ohviz-closed").Render(); | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue