From 4e02528bdc3af142f1c0a75d4441acfbc4a959be Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 12 Aug 2024 10:07:57 +0200 Subject: [PATCH] NSI: remove 'nobrand' if a brand is chosen --- src/Models/ThemeConfig/TagRenderingConfig.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Models/ThemeConfig/TagRenderingConfig.ts b/src/Models/ThemeConfig/TagRenderingConfig.ts index 7dd8f07b7..4002f3df3 100644 --- a/src/Models/ThemeConfig/TagRenderingConfig.ts +++ b/src/Models/ThemeConfig/TagRenderingConfig.ts @@ -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]