hotfix/2026-02-02 - remove check on missing line ids
This commit is contained in:
@@ -93,16 +93,6 @@ export function PartsOrderModalContainer({
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const missingIdx = forcedLines.findIndex((l) => !l?.job_line_id);
|
|
||||||
if (missingIdx !== -1) {
|
|
||||||
notification.error({
|
|
||||||
title: t("parts_orders.errors.creating"),
|
|
||||||
description: `Missing job_line_id for parts line #${missingIdx + 1}`
|
|
||||||
});
|
|
||||||
setSaving(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let insertResult;
|
let insertResult;
|
||||||
try {
|
try {
|
||||||
insertResult = await insertPartOrder({
|
insertResult = await insertPartOrder({
|
||||||
|
|||||||
Reference in New Issue
Block a user