forked from MapComplete/MapComplete
		
	Add automatic reload of OH visualization
This commit is contained in:
		
							parent
							
								
									de449546d3
								
							
						
					
					
						commit
						1c6546f4c7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -12,6 +12,7 @@ export default class OpeningHoursVisualization extends UIElement { | ||||||
|     constructor(tags: UIEventSource<any>, key: string) { |     constructor(tags: UIEventSource<any>, key: string) { | ||||||
|         super(tags); |         super(tags); | ||||||
|         this._key = key; |         this._key = key; | ||||||
|  |         this.ListenTo(UIEventSource.Chronic(60*1000)); // Automatically reload every minute
 | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue