File tree Expand file tree Collapse file tree 3 files changed +546
-178
lines changed
modules/compute/components/lists Expand file tree Collapse file tree 3 files changed +546
-178
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const JobTableRow: React.FC<JobTableRowProps> = ({ systemJob }: JobTableRowProps
8686 </ div >
8787 < div className = 'flex items-center text-xs text-gray-500 mb-1' >
8888 < CalendarIcon aria-hidden = 'true' className = 'mr-1 h-4 w-4 flex-shrink-0 text-gray-500' />
89- { formatDateTimeFromTimestamp ( { timestamp : job . time . submission } ) }
89+ { formatDateTimeFromTimestamp ( { timestamp : job . time . start } ) }
9090 </ div >
9191 < div className = 'flex items-center text-xs text-gray-500' >
9292 < ClockIcon aria-hidden = 'true' className = 'mr-1 h-4 w-4 flex-shrink-0 text-gray-500' />
@@ -108,10 +108,10 @@ const JobTableRow: React.FC<JobTableRowProps> = ({ systemJob }: JobTableRowProps
108108 < td className = 'py-3 align-top tabular-nums text-gray-700' >
109109 { ( job . status . state === JobStateStatus . RUNNING ||
110110 job . status . state === JobStateStatus . COMPLETED ) && (
111- < >
112- < div className = 'truncate text-gray-500 text-xs mb-1' > Partition: { job . partition } </ div >
113- </ >
114- ) }
111+ < >
112+ < div className = 'truncate text-gray-500 text-xs mb-1' > Partition: { job . partition } </ div >
113+ </ >
114+ ) }
115115 { job . status . state === 'PENDING' && (
116116 < >
117117 < div className = 'truncate text-gray-500 text-xs mb-1' >
@@ -241,7 +241,7 @@ const SystemJobList: React.FC<any> = ({ systemsJobs }) => {
241241 job : job ,
242242 } ) )
243243 } )
244- . sort ( ( a : any , b : any ) => b . job . time . submission - a . job . time . submission )
244+ . sort ( ( a : any , b : any ) => b . job . time . start - a . job . time . start )
245245 return (
246246 < >
247247 < UnavailableSystemAlert unavailableSystemsJobs = { unavailableSystemsJobs } className = 'mb-6' />
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ export interface JobExitCode {
1919export interface JobTime {
2020 elapsed : number
2121 start : number
22- submission : number
2322 end : number
2423 suspended : number
2524 limit : number
You can’t perform that action at this time.
0 commit comments