Move tag merge logic

This commit is contained in:
Robin van der Linde 2024-05-07 11:23:55 +02:00
parent 00d9fe2d34
commit a2dcbeb087
Signed by untrusted user who does not match committer: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -223,12 +223,6 @@
selectedTags = undefined
}
}
}
function onSave(_ = undefined) {
if (selectedTags === undefined) {
return
}
if (extraTags.data) {
// Map the extraTags into an array of Tag objects
@ -245,6 +239,12 @@
console.error("selectedTags is not of type Tag or And")
}
}
}
function onSave(_ = undefined) {
if (selectedTags === undefined) {
return
}
if (layer === undefined || (layer?.source === null && layer.id !== "favourite")) {
/**