- Progress Update

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-26 11:48:43 -05:00
parent c7a0072f2d
commit b0f4ad7e4f

View File

@@ -10,10 +10,9 @@ require('./job-lifecycle.styles.scss');
// Get Bodyshop record
// md_RepairStatus
// All status, array of strings, all statuses available system wide, the order is meaningful.
// All status, array of strings, all statuses available system-wide, the order is meaningful.
// CHECK SORT OF LEGEND
// show text on bar if text can fit
export function JobLifecycleComponent({job, ...rest}) {
const [loading, setLoading] = useState(true);
@@ -142,7 +141,6 @@ export function JobLifecycleComponent({job, ...rest}) {
{lifecycleData.durations.summations.map((key, index, array) => {
const isFirst = index === 0;
const isLast = index === array.length - 1;
return (
<div key={key.status} style={{
overflow: 'hidden',