fix: Piechart bug startDate endDate

feat-scaling-ticket-remote-creation
adriano 2024-04-01 09:07:49 -03:00
parent 8a35b985b9
commit e6ea004edf
1 changed files with 1 additions and 3 deletions

View File

@ -292,9 +292,7 @@ const Dashboard = () => {
dispatch({ type: "RESET" }) dispatch({ type: "RESET" })
dispatch({ type: "LOAD_QUERY", payload: data.usersProfile }) dispatch({ type: "LOAD_QUERY", payload: data.usersProfile })
const { data: ticketStatusChatEndData } = await api.get("/reports/count/statusChatEnd", { const { data: ticketStatusChatEndData } = await api.get("/reports/count/statusChatEnd")
params: { startDate: startDate, endDate: endDate },
})
setTicketStatusChatEnd(ticketStatusChatEndData.reportStatusChatEnd) setTicketStatusChatEnd(ticketStatusChatEndData.reportStatusChatEnd)