mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
831b5f4f3f
commit
5f512fa3ec
@ -362,9 +362,13 @@ export default function PartDetail() {
|
||||
});
|
||||
}
|
||||
});
|
||||
return `${formatPriceRange(data.overall_min, data.overall_max)}${
|
||||
|
||||
return (
|
||||
data &&
|
||||
`${formatPriceRange(data.overall_min, data.overall_max)}${
|
||||
part.units && ' / ' + part.units
|
||||
}`;
|
||||
}`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user