Fix rendering bug

This commit is contained in:
pietervdvn 2021-10-02 22:27:44 +02:00
parent 9df263c362
commit deb8b8cc59

View file

@ -48,7 +48,7 @@ export default class TagRenderingQuestion extends VariableUiElement {
const applicableMappings = const applicableMappings =
UIEventSource.ListStabilized(tags.map(tags => { UIEventSource.ListStabilized(tags.map(tags => {
const applicableMappings : {if: TagsFilter, then: any, ifnot?: TagsFilter}[] = [] const applicableMappings : {if: TagsFilter, then: any, ifnot?: TagsFilter}[] = []
for (const mapping of configuration.mappings) { for (const mapping of configuration.mappings ?? []) {
if (mapping.hideInAnswer === true) { if (mapping.hideInAnswer === true) {
continue continue
} }