fix: correct day header status logic and text color (v1.8.4)
This commit is contained in:
@@ -1105,8 +1105,8 @@
|
||||
});
|
||||
|
||||
const hasOrderable = day.items && day.items.some(item => {
|
||||
// Logic from updateNextWeekBadge
|
||||
return (item.amount_tracking === false) || (parseInt(item.available_amount) > 0);
|
||||
// Use pre-calculated available flag from loadMenuDataFromAPI calculation
|
||||
return item.available;
|
||||
});
|
||||
|
||||
if (hasAnyOrder) {
|
||||
|
||||
Reference in New Issue
Block a user