forked from MapComplete/MapComplete
		
	UX(plantnet): add retry button if detection failed, fix #2148
This commit is contained in:
		
							parent
							
								
									9b4f59b383
								
							
						
					
					
						commit
						e08ce00850
					
				
					 3 changed files with 24 additions and 8 deletions
				
			
		|  | @ -15,7 +15,7 @@ export default class PlantNet { | |||
|         for (const image of imageUrls) { | ||||
|             url += "&images=" + encodeURIComponent(image) | ||||
|         } | ||||
|         return Utils.downloadJsonCached(url, 365 * 24 * 60 * 60 * 1000) | ||||
|         return Utils.downloadJsonCached(url, 365 * 24 * 60 * 60 * 1000, undefined, true) | ||||
|     } | ||||
| 
 | ||||
|     public static exampleResult: PlantNetResult = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue