NSI: remove 'nobrand' if a brand is chosen

This commit is contained in:
Pieter Vander Vennet 2024-08-12 10:07:57 +02:00
parent 8e9ae0529b
commit 4e02528bdc

View file

@ -976,6 +976,7 @@ export class TagRenderingConfigUtils {
const oldMappingsCloned =
clone.mappings?.map((m) => ({
...m,
addExtraTags: "nobrand=",
priorityIf: m.priorityIf ?? TagUtils.Tag("id~*"),
})) ?? []
clone.mappings = [...oldMappingsCloned, ...extraMappings]