forked from MapComplete/MapComplete
		
	Refactoring: remove obsolete 'loggedIn' on userdetails-object
This commit is contained in:
		
							parent
							
								
									1b3066cc28
								
							
						
					
					
						commit
						3bf099c14a
					
				
					 7 changed files with 8 additions and 25 deletions
				
			
		|  | @ -44,7 +44,7 @@ | |||
|     const imageInfo = await panoramax.imageInfo(image.id) | ||||
|     let reporter_email: string = undefined | ||||
|     const userdetails = state.userRelatedState.osmConnection.userDetails | ||||
|     if (userdetails.data.loggedIn) { | ||||
|     if (userdetails.data?.loggedIn) { | ||||
|       reporter_email = userdetails.data.name + "@openstreetmap.org" | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,10 +12,6 @@ | |||
| 
 | ||||
|   export let estimated: Store<number> | ||||
| 
 | ||||
|   images.addCallbackAndRun(imgs => { | ||||
|     console.log(">>><<< imgs are", imgs) | ||||
|   }) | ||||
| 
 | ||||
| </script> | ||||
| {#if $estimated > 0 && $images.length < 1} | ||||
|   <LoadingPlaceholder /> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue