fix: hotfix date #1045

Merged
carlossa merged 4 commits from hotfix-6898SupplierConsumption into master 2024-12-12 08:20:36 +00:00
1 changed files with 2 additions and 5 deletions
Showing only changes of commit 884138af48 - Show all commits

View File

@ -40,13 +40,10 @@ const dateRanges = computed(() => {
});
const reportParams = computed(() => {
const dates = {
to: dateRange(dateRanges.value.to)[1].toISOString(),
from: dateRange(dateRanges.value.from)[1].toISOString(),
};
return {
recipientId: Number(route.params.id),
carlossa marked this conversation as resolved
Review

Q raro gastar toISOString no?

Q raro gastar toISOString no?
...dates,
to: dateRange(dateRanges.value.to)[1],
from: dateRange(dateRanges.value.from)[1],
};
});