forked from MapComplete/MapComplete
		
	Fixed image loading (again)
This commit is contained in:
		
							parent
							
								
									55937ec0c7
								
							
						
					
					
						commit
						fd2ed950cc
					
				
					 3 changed files with 35 additions and 14 deletions
				
			
		|  | @ -9,7 +9,9 @@ import ImageProvider from "../../Logic/ImageProviders/ImageProvider"; | |||
| 
 | ||||
| export class ImageCarousel extends Toggle { | ||||
| 
 | ||||
|     constructor(images: UIEventSource<{ key: string, url: string, provider: ImageProvider }[]>, tags: UIEventSource<any>) { | ||||
|     constructor(images: UIEventSource<{ key: string, url: string, provider: ImageProvider }[]>,  | ||||
|                 tags: UIEventSource<any>, | ||||
|                 keys: string[]) { | ||||
|         const uiElements = images.map((imageURLS: { key: string, url: string, provider: ImageProvider }[]) => { | ||||
|             const uiElements: BaseUIElement[] = []; | ||||
|             for (const url of imageURLS) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue