update manage reward
This commit is contained in:
@ -120,7 +120,7 @@ const ManageUserContextProvider = ({ children }: { children: React.ReactNode })
|
||||
enableHiding: false,
|
||||
cell: (data: any) => {
|
||||
const { role } = data.row.original;
|
||||
console.log('role :', role);
|
||||
// console.log('role :', role);
|
||||
let html = <p className="text-danger italic">Unassigned</p>;
|
||||
if (role && role.name) html = role.name;
|
||||
return html;
|
||||
@ -198,6 +198,7 @@ const ManageUserContextProvider = ({ children }: { children: React.ReactNode })
|
||||
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC',
|
||||
filter: JSON.stringify(filter)
|
||||
});
|
||||
console.log('response api:', response);
|
||||
|
||||
return { data: response?.data.list, totalCount: response?.data.total_count };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user