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 }