- Major Progress Commit

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-25 12:38:32 -05:00
parent f8408908b2
commit a394d6b37e

View File

@@ -99,10 +99,10 @@ export function JobLifecycleComponent({job, ...rest}) {
}, },
]; ];
useEffect(() => { // useEffect(() => {
console.log('LifeCycle Data'); // console.log('LifeCycle Data');
console.dir(lifecycleData, {depth: null}) // console.dir(lifecycleData, {depth: null})
}, [lifecycleData]); // }, [lifecycleData]);
return ( return (
<Card loading={loading} title='Job Lifecycle Component'> <Card loading={loading} title='Job Lifecycle Component'>
@@ -144,14 +144,12 @@ export function JobLifecycleComponent({job, ...rest}) {
alignItems: 'center', alignItems: 'center',
margin: 0, margin: 0,
padding: 0, padding: 0,
borderTop: '1px solid #f0f2f5', borderTop: '1px solid #f0f2f5',
borderBottom: '1px solid #f0f2f5', borderBottom: '1px solid #f0f2f5',
borderLeft: isFirst ? '1px solid #f0f2f5' : undefined, borderLeft: isFirst ? '1px solid #f0f2f5' : undefined,
borderRight: isLast ? '1px solid #f0f2f5' : undefined, borderRight: isLast ? '1px solid #f0f2f5' : undefined,
borderBottomLeftRadius: isFirst ? '5px' : undefined,
borderTopLeftRadius: isFirst ? '5px' : undefined,
borderBottomRightRadius: isLast ? '5px' : undefined,
borderTopRightRadius: isLast ? '5px' : undefined,
backgroundColor: key.color, backgroundColor: key.color,
width: `${key.percentage}%` width: `${key.percentage}%`
}} }}