Fix IO-2535

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-08 15:44:04 -05:00
parent 0074c73c2a
commit 2e589c44a6
4 changed files with 19 additions and 19 deletions

View File

@@ -32,7 +32,7 @@ export default function JobLinesExpander({jobline, jobid}) {
data.parts_order_lines.length > 0
? data.parts_order_lines.map((line) => ({
key: line.id,
label: (
children: (
<Space split={<Divider type="vertical"/>} wrap>
<Link
to={`/manage/jobs/${jobid}?partsorderid=${line.parts_order.id}`}
@@ -47,7 +47,7 @@ export default function JobLinesExpander({jobline, jobid}) {
: [
{
key: "no-orders",
label: t("parts_orders.labels.notyetordered"),
children: t("parts_orders.labels.notyetordered"),
},
]
}
@@ -59,7 +59,7 @@ export default function JobLinesExpander({jobline, jobid}) {
data.billlines.length > 0
? data.billlines.map((line) => ({
key: line.id,
label: (
children: (
<Row wrap>
<Col span={4}>
<Link
@@ -84,7 +84,7 @@ export default function JobLinesExpander({jobline, jobid}) {
: [
{
key: "no-orders",
label: t("parts_orders.labels.notyetordered"),
children: t("parts_orders.labels.notyetordered"),
},
]
}