🚧 modification page admin
This commit is contained in:
1 parent
fc1e689469
commit
79e056ac08
1 file changed
+6
@@ -100,7 +100,13 @@ const Admin = (props: Props) => {
|
||||
ChartJS.register(RadialLinearScale, ArcElement, Tooltip, Legend);
|
||||
|
||||
const TicketRestants = props.tickets?.filter(ticket => ticket.codeActif === true).length
|
||||
console.log("🚀 ~ file: admin.tsx:103 ~ Admin ~ TicketRestants", TicketRestants)
|
||||
const TicketUtilise = props.tickets?.filter(ticket => ticket.codeActif === false).length
|
||||
console.log("🚀 ~ file: admin.tsx:104 ~ Admin ~ TicketUtilise", TicketUtilise)
|
||||
const TicketTotal = props.totalTirageRestant.total;
|
||||
console.log("🚀 ~ file: admin.tsx:107 ~ Admin ~ TicketTotal", TicketTotal)
|
||||
|
||||
|
||||
|
||||
const TotalTirageRestant = props.totalTirageRestant?.total;
|
||||
|
||||
|
||||
Reference in new issue
Block a user