@@ -10,10 +10,9 @@ require('./job-lifecycle.styles.scss');
|
|||||||
|
|
||||||
// Get Bodyshop record
|
// Get Bodyshop record
|
||||||
// md_RepairStatus
|
// 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
|
// CHECK SORT OF LEGEND
|
||||||
|
|
||||||
// show text on bar if text can fit
|
// show text on bar if text can fit
|
||||||
export function JobLifecycleComponent({job, ...rest}) {
|
export function JobLifecycleComponent({job, ...rest}) {
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
@@ -142,7 +141,6 @@ export function JobLifecycleComponent({job, ...rest}) {
|
|||||||
{lifecycleData.durations.summations.map((key, index, array) => {
|
{lifecycleData.durations.summations.map((key, index, array) => {
|
||||||
const isFirst = index === 0;
|
const isFirst = index === 0;
|
||||||
const isLast = index === array.length - 1;
|
const isLast = index === array.length - 1;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div key={key.status} style={{
|
<div key={key.status} style={{
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
|
|||||||
Reference in New Issue
Block a user