feat(ocme): cycle count added to db will add to front end later for users to inspect
This commit is contained in:
@@ -31,6 +31,15 @@ export const assignedPrinters = async () => {
|
||||
const printers: any = print.data ?? [];
|
||||
const lots: any = l.data.length === 0 ? [] : l.data;
|
||||
|
||||
if (!lots) {
|
||||
createLog(
|
||||
"error",
|
||||
"lst",
|
||||
"ocp",
|
||||
`There was an error getting the lots: ${lots.message}`
|
||||
);
|
||||
return;
|
||||
}
|
||||
for (let i = 0; i < printers.length; i++) {
|
||||
// is the printer assinged in alplalabel online?
|
||||
const assigned = lots?.filter(
|
||||
|
||||
Reference in New Issue
Block a user