UX: only show opening_hours state if opening_hours are present

This commit is contained in:
Pieter Vander Vennet 2024-01-11 02:22:31 +01:00
parent 48746f6e80
commit bb72f33806

View file

@ -73,13 +73,14 @@
"defaults", "defaults",
"in_favourite" "in_favourite"
], ],
"#": "Titleicon showing 'open until 17:00'", "#": "Titleicon showing e.g. 'open until 17:00'",
"icon": { "icon": {
"class": "w-20 mx-1 flex items-center" "class": "w-20 mx-1 flex items-center"
}, },
"render": "{opening_hours_state()}", "render": "{opening_hours_state()}",
"condition": { "condition": {
"or": [ "or": [
"opening_hours~*",
"seasonal=", "seasonal=",
"seasonal=no", "seasonal=no",
{ {