forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
36caf511cf
6 changed files with 286 additions and 7 deletions
|
@ -72,7 +72,7 @@ class LayerOverviewUtils {
|
|||
const dict = new Map<string, TagRenderingConfigJson>();
|
||||
|
||||
for (const key in questions["default"]) {
|
||||
if(key==="id"){
|
||||
if(key === "id"){
|
||||
continue
|
||||
}
|
||||
questions[key].id = key;
|
||||
|
@ -90,6 +90,9 @@ class LayerOverviewUtils {
|
|||
}
|
||||
|
||||
dict.forEach((value, key) => {
|
||||
if(key === "id"){
|
||||
return
|
||||
}
|
||||
value.id = value.id ?? key;
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue