fix(lots): if no lot assigned dont spam
This commit is contained in:
@@ -20,7 +20,7 @@ export const assignedPrinters = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (l.data.length === 0 && l.success) {
|
if (l.data.length === 0 && l.success) {
|
||||||
createLog("info", "lst", "ocp", `There are no lots assigned currently`);
|
//createLog("info", "lst", "ocp", `There are no lots assigned currently`);
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
message: "There are no lots assigned currenly.",
|
message: "There are no lots assigned currenly.",
|
||||||
|
|||||||
Reference in New Issue
Block a user