File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,22 @@ import TypeSection from '../ui/TypeSection';
66import TypeArray from '../ui/TypeArray' ;
77import getJobDataVariant from '../../utils/getJobDataVariant' ;
88
9+ const JobTaskProgressTypeUnit = ( { value = { } } ) => (
10+ < >
11+ < TextGrid title = "percent" value = { value . percent } hideNoValue />
12+ < TextGrid title = "bytes" value = { value . bytes } hideNoValue />
13+ </ >
14+ ) ;
15+
916const JobTaskProgressType = ( { value = { } } ) => (
10- < TextGrid
11- title = { value . total }
12- value = { value . unit }
13- hideNoValue
14- hover
15- />
17+ < >
18+ < TextGrid title = "Total" value = { value . total } hideNoValue hover />
19+ < TypeSection
20+ component = { JobTaskProgressTypeUnit }
21+ value = { value . unit }
22+ hideNoValue
23+ />
24+ </ >
1625) ;
1726
1827const JobTaskSubstepType = ( { value = { } } ) => (
You can’t perform that action at this time.
0 commit comments