forked from MapComplete/MapComplete
NSI: remove 'nobrand' if a brand is chosen
This commit is contained in:
parent
d167fe7723
commit
745c3295eb
1 changed files with 1 additions and 0 deletions
|
@ -976,6 +976,7 @@ export class TagRenderingConfigUtils {
|
||||||
const oldMappingsCloned =
|
const oldMappingsCloned =
|
||||||
clone.mappings?.map((m) => ({
|
clone.mappings?.map((m) => ({
|
||||||
...m,
|
...m,
|
||||||
|
addExtraTags: "nobrand=",
|
||||||
priorityIf: m.priorityIf ?? TagUtils.Tag("id~*"),
|
priorityIf: m.priorityIf ?? TagUtils.Tag("id~*"),
|
||||||
})) ?? []
|
})) ?? []
|
||||||
clone.mappings = [...oldMappingsCloned, ...extraMappings]
|
clone.mappings = [...oldMappingsCloned, ...extraMappings]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue