forked from MapComplete/MapComplete
Fix: studio works again
This commit is contained in:
parent
6260bc2897
commit
014282db94
3 changed files with 7 additions and 14 deletions
|
@ -63,12 +63,12 @@
|
|||
})
|
||||
)
|
||||
expertMode.addCallbackAndRunD((expert) => console.log("Expert mode is", expert))
|
||||
const createdBy = osmConnection.userDetails.data.name
|
||||
const uid = osmConnection.userDetails.map(
|
||||
const createdBy = osmConnection.userDetails.data?.name
|
||||
const uid = osmConnection.userDetails.mapD(
|
||||
(ud) => (directEntry.data ? null : ud?.uid),
|
||||
[directEntry]
|
||||
)
|
||||
const studio = new StudioServer(studioUrl, uid, directEntry.data)
|
||||
const studio = new StudioServer(studioUrl, uid)
|
||||
|
||||
let layersWithErr = studio.fetchOverview()
|
||||
let layerFilterTerm: string = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue