refactor: simpler timing inputs
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
// Compute the display string for opening times
|
||||
let openingDisplay = $state("");
|
||||
if (todayHours) {
|
||||
openingDisplay = todayHours.is_24_7
|
||||
openingDisplay = todayHours.open_today_status
|
||||
? "Open 24/7"
|
||||
: `${formatTime(todayHours.opens_at)} - ${formatTime(todayHours.closes_at)}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user