IO-785 Unmark joblines on order.

This commit is contained in:
Patrick Fic
2021-03-19 11:07:43 -07:00
parent 7f0b369774
commit 3da0f131d2

View File

@@ -302,7 +302,7 @@ export function JobLinesComponent({
render: (text, record) => ( render: (text, record) => (
<div> <div>
{record.manual_line && ( {record.manual_line && (
<Space > <Space>
<Button <Button
disabled={jobRO} disabled={jobRO}
onClick={() => { onClick={() => {
@@ -406,6 +406,9 @@ export function JobLinesComponent({
linesToOrder: selectedLines, linesToOrder: selectedLines,
}, },
}); });
//Clear out the selected lines. IO-785
setSelectedLines([]);
}} }}
> >
{t("parts.actions.order")} {t("parts.actions.order")}