forked from MapComplete/MapComplete
Linked data loader: prettier UI, some bugfixes
This commit is contained in:
parent
13506a0e59
commit
da1eca797c
4 changed files with 208 additions and 139 deletions
|
@ -1743,6 +1743,7 @@ export default class SpecialVisualizations {
|
|||
}
|
||||
return ({ url: tags[key], country: tags._country })
|
||||
})
|
||||
const sourceUrl: Store<string | undefined> = url.mapD(url => url.url)
|
||||
const externalData: Store<{ success: { content: any } } | {
|
||||
error: string
|
||||
} | undefined | null> = url.bindD(({
|
||||
|
@ -1759,6 +1760,7 @@ export default class SpecialVisualizations {
|
|||
tags,
|
||||
layer,
|
||||
externalData,
|
||||
sourceUrl
|
||||
}), undefined, url.map(url => !!url),
|
||||
)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue