Fix: fix link image action

This commit is contained in:
Pieter Vander Vennet 2023-11-23 16:00:14 +01:00
parent b69c2de3f4
commit ce55b4c7d8

View file

@ -42,7 +42,7 @@
const key = Object.keys(image.osmTags)[0]
const url = image.osmTags[key]
if (isLinked) {
const action = new LinkImageAction(currentTags.id, key, url, currentTags, {
const action = new LinkImageAction(currentTags.id, key, url, tags, {
theme: state.layout.id,
changeType: "link-image",
})