feat(ocp): printer cycling backend and frontend done :)

This commit is contained in:
2025-04-07 07:02:31 -05:00
parent 75f94eae14
commit dc5ee5b97a
14 changed files with 302 additions and 35 deletions

View File

@@ -71,6 +71,7 @@ export default function Lots() {
const server = settings.filter((n) => n.name === "server")[0]?.value || "";
const roles = ["admin", "manager", "operator"];
const lotdata = data ? data : [];
if (user && roles.includes(user.role)) {
//width = 1280;
@@ -144,7 +145,6 @@ export default function Lots() {
</div>
);
}
return (
<LstCard className="m-2 p-2 min-h-2/5">
<ScrollArea className="h-[400px]">
@@ -197,7 +197,7 @@ export default function Lots() {
</>
) : (
<TableBody>
{data?.map((lot: LotType) => (
{lotdata.map((lot: LotType) => (
<TableRow key={lot.LabelOnlineID}>
<TableCell className="font-medium">
{lot.MachineLocation}