6.4.5: Фикс чипса Сегодня для товаров без даты
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "play-life-web",
|
"name": "play-life-web",
|
||||||
"version": "6.4.4",
|
"version": "6.4.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -712,8 +712,8 @@ function ShoppingList({ onNavigate, refreshTrigger = 0, isActive = false, initia
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isTomorrow = nextShowAtStr === tomorrowStr
|
const isTomorrow = nextShowAtStr === tomorrowStr
|
||||||
// Показываем "Сегодня" только если дата строго в будущем (null, сегодня и прошлое — не показываем)
|
// Показываем "Сегодня" если нет даты, или дата строго в будущем (сегодня и прошлое — не показываем)
|
||||||
const showTodayChip = !!nextShowAtStr && nextShowAtStr > todayStr
|
const showTodayChip = !nextShowAtStr || nextShowAtStr > todayStr
|
||||||
|
|
||||||
// Дата "по плану"
|
// Дата "по плану"
|
||||||
const item = selectedItemForPostpone
|
const item = selectedItemForPostpone
|
||||||
|
|||||||
Reference in New Issue
Block a user