forked from MapComplete/MapComplete
Full code cleanup
This commit is contained in:
parent
3a4a2a2016
commit
fa971ffbbf
300 changed files with 16352 additions and 19284 deletions
|
@ -31,21 +31,21 @@ export default class SharedTagRenderings {
|
|||
|
||||
if (!iconsOnly) {
|
||||
for (const key in questions) {
|
||||
if(key === "id"){
|
||||
if (key === "id") {
|
||||
continue
|
||||
}
|
||||
dict.set(key, <TagRenderingConfigJson>questions[key])
|
||||
}
|
||||
}
|
||||
for (const key in icons) {
|
||||
if(key === "id"){
|
||||
if (key === "id") {
|
||||
continue
|
||||
}
|
||||
dict.set(key, <TagRenderingConfigJson>icons[key])
|
||||
}
|
||||
|
||||
dict.forEach((value, key) => {
|
||||
if(key === "id"){
|
||||
if (key === "id") {
|
||||
return
|
||||
}
|
||||
value.id = value.id ?? key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue