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 d167fe7723
commit 745c3295eb

View file

@ -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]