From bd102354ff9e7a304d4512d2da26caf4c90697d7 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 26 Nov 2021 20:01:06 +0100 Subject: [PATCH] Fix build --- UI/Base/Title.ts | 2 +- .../charging_station/charging_station.json | 18 ++++++------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/UI/Base/Title.ts b/UI/Base/Title.ts index c9aff4c92..dab4ecbe3 100644 --- a/UI/Base/Title.ts +++ b/UI/Base/Title.ts @@ -15,7 +15,7 @@ export default class Title extends BaseUIElement { this.title = embedded } this.level = level; - this.id = this.title.ConstructElement().innerText.replace(/ /g, '_') + this.id = this.title.ConstructElement()?.innerText?.replace(/ /g, '_') ?? "" } AsMarkdown(): string { diff --git a/assets/layers/charging_station/charging_station.json b/assets/layers/charging_station/charging_station.json index a647702ac..044126f36 100644 --- a/assets/layers/charging_station/charging_station.json +++ b/assets/layers/charging_station/charging_station.json @@ -3418,12 +3418,6 @@ "render": { "en": "

Technical questions

The questions below are very technical. Feel free to ignore them
{questions}", "nl": "

Technische vragen

De vragen hieronder zijn erg technisch - sla deze over indien je hier geen tijd voor hebt
{questions}" - }, - "freeform": { - "key": "questions", - "helperArgs": { - "showAllQuestions": true - } } } ], @@ -3555,16 +3549,16 @@ "question": { "en": "All vehicle types", "nl": "Alle voertuigen", - "fr": "Tout type de véhicule", - "de": "Alle Fahrzeugtypen" + "de": "Alle Fahrzeugtypen", + "fr": "Tout type de véhicule" } }, { "question": { "en": "Charging station for bicycles", "nl": "Oplaadpunten voor fietsen", - "fr": "Station de charge pour vélos", - "de": "Ladestation für Fahrräder" + "de": "Ladestation für Fahrräder", + "fr": "Station de charge pour vélos" }, "osmTags": "bicycle=yes" }, @@ -3572,8 +3566,8 @@ "question": { "en": "Charging station for cars", "nl": "Oplaadpunten voor auto's", - "fr": "Station de charge pour automobiles", - "de": "Ladestation für Autos" + "de": "Ladestation für Autos", + "fr": "Station de charge pour automobiles" }, "osmTags": { "or": [