From d711b6a8ef8b851751734dd6300a0aa7d3c7923c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 24 May 2025 02:14:02 +0200 Subject: [PATCH] Themes(rolling_stock): add preset type selection + fix typo --- .../layers/historic_rolling_stock/historic_rolling_stock.json | 4 ++++ src/UI/SpecialVisualisations/UISpecialVisualisations.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/layers/historic_rolling_stock/historic_rolling_stock.json b/assets/layers/historic_rolling_stock/historic_rolling_stock.json index 37f5d8fa6..7e394b05e 100644 --- a/assets/layers/historic_rolling_stock/historic_rolling_stock.json +++ b/assets/layers/historic_rolling_stock/historic_rolling_stock.json @@ -150,6 +150,10 @@ ], "tagRenderings": [ "images", + { + "id": "preset_type", + "render": "{preset_type_select()}" + }, "wikipedia", { "id": "model", diff --git a/src/UI/SpecialVisualisations/UISpecialVisualisations.ts b/src/UI/SpecialVisualisations/UISpecialVisualisations.ts index deb155096..1414c2732 100644 --- a/src/UI/SpecialVisualisations/UISpecialVisualisations.ts +++ b/src/UI/SpecialVisualisations/UISpecialVisualisations.ts @@ -21,7 +21,7 @@ class QuestionViz implements SpecialVisualizationSvelte { funcName = "questions" needsUrls = [] docs = - "The special element which shows the questions which are unkown. Added by default if not yet there" + "The special element which shows the questions which are unknown. Added by default if not yet there" args = [ { name: "labels",