From 6e225d3f0df1a2cc4dc3803b283099522dcc51f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 30 May 2020 10:09:03 +0200 Subject: [PATCH] car_maxspeed: bugfix --- car_maxspeed.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/car_maxspeed.json b/car_maxspeed.json index c3da28d3..b5047331 100644 --- a/car_maxspeed.json +++ b/car_maxspeed.json @@ -96,7 +96,7 @@ "description": [ "{% if maxspeedF or maxspeedB %}", "{{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : const.colorOther[maxspeedB] ? tagTrans('maxspeed', maxspeedB) : maxspeedB|default(trans('unknown')) }} / {{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : const.colorOther[maxspeedF] ? tagTrans('maxspeed', maxspeedF) : maxspeedF|default(trans('unknown')) }} {{ unit }}", - "{% elseif maxspeed == 'other' %}", + "{% elseif maxspeed %}", "{{ maxspeed == 'other' ? tags.maxspeed : const.colorOther[maxspeed] ? tagTrans('maxspeed', maxspeed) : maxspeed }} {{ unit }}", "{% elseif tags.maxspeed %}", "{{ tags.maxspeed }}",