no changes

This commit is contained in:
José Salazar
2025-12-17 09:09:59 -05:00
parent 28368ac729
commit 7ccb87b52c

View File

@@ -217,7 +217,7 @@ export default function VendorOrders() {
return filtered; return filtered;
}, [eventsWithConflicts, searchTerm, activeTab]); }, [eventsWithConflicts, searchTerm, activeTab]);
const getAssignmentStatus = (event) => {debugger; const getAssignmentStatus = (event) => {
const totalRequested = event.shifts?.reduce((accShift, shift) => { const totalRequested = event.shifts?.reduce((accShift, shift) => {
return accShift + (shift.roles?.reduce((accRole, role) => accRole + (role.count || 0), 0) || 0); return accShift + (shift.roles?.reduce((accRole, role) => accRole + (role.count || 0), 0) || 0);
}, 0) || 0; }, 0) || 0;