Fix build

This commit is contained in:
Pieter Vander Vennet 2022-01-24 00:24:51 +01:00
parent 792631e91e
commit 5d95abf01f
2 changed files with 15 additions and 0 deletions

View file

@ -31,14 +31,23 @@ export default class SharedTagRenderings {
if (!iconsOnly) {
for (const key in questions) {
if(key === "id"){
continue
}
dict.set(key, <TagRenderingConfigJson>questions[key])
}
}
for (const key in icons) {
if(key === "id"){
continue
}
dict.set(key, <TagRenderingConfigJson>icons[key])
}
dict.forEach((value, key) => {
if(key === "id"){
return
}
value.id = value.id ?? key;
})