From bb72f338063d7180af4907fc7519e3fc8a8b7e1a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 11 Jan 2024 02:22:31 +0100 Subject: [PATCH] UX: only show opening_hours state if opening_hours are present --- assets/layers/icons/icons.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/layers/icons/icons.json b/assets/layers/icons/icons.json index 3acfb3cac..ebed4cba8 100644 --- a/assets/layers/icons/icons.json +++ b/assets/layers/icons/icons.json @@ -73,13 +73,14 @@ "defaults", "in_favourite" ], - "#": "Titleicon showing 'open until 17:00'", + "#": "Titleicon showing e.g. 'open until 17:00'", "icon": { "class": "w-20 mx-1 flex items-center" }, "render": "{opening_hours_state()}", "condition": { "or": [ + "opening_hours~*", "seasonal=", "seasonal=no", {