fix: Piechart bug startDate endDate
parent
8a35b985b9
commit
e6ea004edf
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue