forked from MapComplete/MapComplete
Fix: fix link image action
This commit is contained in:
parent
b69c2de3f4
commit
ce55b4c7d8
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
const key = Object.keys(image.osmTags)[0]
|
const key = Object.keys(image.osmTags)[0]
|
||||||
const url = image.osmTags[key]
|
const url = image.osmTags[key]
|
||||||
if (isLinked) {
|
if (isLinked) {
|
||||||
const action = new LinkImageAction(currentTags.id, key, url, currentTags, {
|
const action = new LinkImageAction(currentTags.id, key, url, tags, {
|
||||||
theme: state.layout.id,
|
theme: state.layout.id,
|
||||||
changeType: "link-image",
|
changeType: "link-image",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue