diff --git a/frontend/src/components/production/ocp/Lots.tsx b/frontend/src/components/production/ocp/Lots.tsx index 7129229..e4cb203 100644 --- a/frontend/src/components/production/ocp/Lots.tsx +++ b/frontend/src/components/production/ocp/Lots.tsx @@ -242,7 +242,9 @@ export default function Lots() { {lot.overPrinting} {user && - roles.includes(accessRoles[0].role) && ( + roles.includes( + accessRoles[0]?.role + ) && ( <> {server === "usday1vms006" || server === "localhost" ? (