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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue