From a33f80154393b1c5fa48f9bab2a7e4e40bcd5344 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 26 Nov 2024 10:19:54 +0100 Subject: [PATCH] refactor: refs #8232 use composable --- src/pages/Monitor/Ticket/MonitorTickets.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index 41d3070b7..253316a09 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -25,10 +25,7 @@ const stateOpts = ref([]); const zoneOpts = ref([]); const visibleColumns = ref([]); const { viewSummary } = useSummaryDialog(); -const from = Date.vnNew(); -from.setHours(0, 0, 0, 0); -const to = Date.vnNew(); -to.setHours(23, 59, 59, 999); +const [from, to] = dateRange(Date.vnNew()); function exprBuilder(param, value) { switch (param) {