Do not overwrite existing *=no tags by a preset's addTags

This commit is contained in:
Martin Raifer
2022-05-24 14:18:17 +02:00
parent 67bd692bc0
commit 2ca52e75ce
2 changed files with 2 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ export function presetPreset(presetID, preset, addable, allFields, allPresets) {
for (let k in addTags) {
if (addTags[k] === '*') {
// if this tag is ancillary, don't override an existing value since any value is okay
if (_this.tags[k] || !tags[k] || tags[k] === 'no') {
if (_this.tags[k] || !tags[k]) {
tags[k] = 'yes';
}
} else {