forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
8fdb7a6d7f
22 changed files with 536 additions and 141 deletions
|
@ -50,13 +50,11 @@ export default class ThemeIntroductionPanel extends Combine {
|
|||
)
|
||||
|
||||
super([
|
||||
layout.description.Clone(),
|
||||
"<br/><br/>",
|
||||
layout.description.Clone().SetClass("blcok mb-4"),
|
||||
toTheMap,
|
||||
loginStatus,
|
||||
layout.descriptionTail?.Clone(),
|
||||
"<br/>",
|
||||
languagePicker,
|
||||
loginStatus.SetClass("block"),
|
||||
layout.descriptionTail?.Clone().SetClass("block mt-4"),
|
||||
languagePicker.SetClass("block mt-4"),
|
||||
...layout.CustomCodeSnippets()
|
||||
])
|
||||
|
||||
|
|
|
@ -55,7 +55,11 @@ export default class SpecialVisualizations {
|
|||
if (!tags.hasOwnProperty(key)) {
|
||||
continue
|
||||
}
|
||||
parts.push([key, tags[key] ?? "<b>undefined</b>"]);
|
||||
let v = tags[key]
|
||||
if(v === ""){
|
||||
v = "<b>empty string</b>"
|
||||
}
|
||||
parts.push([key, v ?? "<b>undefined</b>"]);
|
||||
}
|
||||
|
||||
for(const key of calculatedTags){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue