bug fix
This commit is contained in:
parent
7bba1cdc22
commit
957cfd5fd9
@ -20,7 +20,7 @@ const Dashboard = () => {
|
||||
},
|
||||
});
|
||||
// console.log(res.data)
|
||||
setUsers(res.data.users);
|
||||
setUsers(res.data?.total_data);
|
||||
};
|
||||
const getAllsalescoordinator = async () => {
|
||||
let res = await axios.get(`/api/salescoordinator/getAll/`, {
|
||||
|
@ -142,7 +142,7 @@ const WidgetsDropdown = ({
|
||||
<CWidgetStatsA
|
||||
className="mb-4"
|
||||
color="primary"
|
||||
value={<>{users.length}</>}
|
||||
value={<>{users}</>}
|
||||
title="Total Principal Distributor"
|
||||
/>
|
||||
</CCol>
|
||||
|
Loading…
Reference in New Issue
Block a user