fix: Piechart bug startDate endDate
parent
8a35b985b9
commit
e6ea004edf
|
@ -292,9 +292,7 @@ const Dashboard = () => {
|
|||
dispatch({ type: "RESET" })
|
||||
dispatch({ type: "LOAD_QUERY", payload: data.usersProfile })
|
||||
|
||||
const { data: ticketStatusChatEndData } = await api.get("/reports/count/statusChatEnd", {
|
||||
params: { startDate: startDate, endDate: endDate },
|
||||
})
|
||||
const { data: ticketStatusChatEndData } = await api.get("/reports/count/statusChatEnd")
|
||||
|
||||
setTicketStatusChatEnd(ticketStatusChatEndData.reportStatusChatEnd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue