forked from MapComplete/MapComplete
		
	Add themes to search functionality, including quickswitch between recent themes
This commit is contained in:
		
							parent
							
								
									b4866cdbac
								
							
						
					
					
						commit
						329865a15e
					
				
					 22 changed files with 679 additions and 431 deletions
				
			
		|  | @ -116,8 +116,8 @@ | |||
|     } | ||||
|   } | ||||
| 
 | ||||
|   let suggestions: Store<GeoCodeResult[]> = searchContents.stabilized(250).bindD(search => | ||||
|     UIEventSource.FromPromise(searcher.suggest(search), err => console.error(err)) | ||||
|   let suggestions: Store<{success: GeoCodeResult[]} | {error}> = searchContents.stabilized(250).bindD(search => | ||||
|     UIEventSource.FromPromiseWithErr(searcher.suggest(search)) | ||||
|   ) | ||||
| 
 | ||||
| </script> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue