From deb8b8cc598b5d67954f72ba190b20cb2a563c10 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 2 Oct 2021 22:27:44 +0200 Subject: [PATCH] Fix rendering bug --- UI/Popup/TagRenderingQuestion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Popup/TagRenderingQuestion.ts b/UI/Popup/TagRenderingQuestion.ts index 06c5b3dc38..9f99b2bb2d 100644 --- a/UI/Popup/TagRenderingQuestion.ts +++ b/UI/Popup/TagRenderingQuestion.ts @@ -48,7 +48,7 @@ export default class TagRenderingQuestion extends VariableUiElement { const applicableMappings = UIEventSource.ListStabilized(tags.map(tags => { const applicableMappings : {if: TagsFilter, then: any, ifnot?: TagsFilter}[] = [] - for (const mapping of configuration.mappings) { + for (const mapping of configuration.mappings ?? []) { if (mapping.hideInAnswer === true) { continue }