From e5434e743613a0595df2af9aac285b5d7a1f6e91 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 21 Nov 2024 09:08:52 +0000 Subject: [PATCH] warmfix: ItemLastEntries to date --- src/pages/Item/Card/ItemLastEntries.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Item/Card/ItemLastEntries.vue b/src/pages/Item/Card/ItemLastEntries.vue index 5c0251ea8..22fb9adc7 100644 --- a/src/pages/Item/Card/ItemLastEntries.vue +++ b/src/pages/Item/Card/ItemLastEntries.vue @@ -170,7 +170,7 @@ onMounted(async () => { from.value = getDate(_from, 'from'); const _to = Date.vnNew(); _to.setDate(_to.getDate() + 10); - to.value = getDate(Date.vnNew(), 'to'); + to.value = getDate(_to, 'to'); updateFilter();