no changes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user