Skip to content

Commit 45d538b

Browse files
committed
adjust details page field display order
1 parent 69b77ce commit 45d538b

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/mainviews/detail-view/job-detail.tsx

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -223,37 +223,39 @@ export function JobDetail(props: IJobDetailProps): JSX.Element {
223223
{
224224
value: props.model.environment,
225225
label: trans.__('Environment')
226-
},
227-
{
228-
value: props.model.backend || 'local',
229-
label: trans.__('Backend')
230226
}
231227
],
232228
[
233229
{
234-
value: translateStatus(props.model.status),
235-
label: trans.__('Status')
230+
value: props.model.backend || 'local',
231+
label: trans.__('Backend')
236232
},
237233
{
238-
value: timestampLocalize(props.model.createTime ?? ''),
239-
label: trans.__('Created at')
234+
value: translateStatus(props.model.status),
235+
label: trans.__('Status')
240236
}
241237
],
242238
[
243239
{
244-
value: timestampLocalize(props.model.updateTime ?? ''),
245-
label: trans.__('Updated at')
240+
value: timestampLocalize(props.model.createTime ?? ''),
241+
label: trans.__('Created at')
246242
},
247243
{
248-
value: timestampLocalize(props.model.startTime ?? ''),
249-
label: trans.__('Start time')
244+
value: timestampLocalize(props.model.updateTime ?? ''),
245+
label: trans.__('Updated at')
250246
}
251247
],
252248
[
249+
{
250+
value: timestampLocalize(props.model.startTime ?? ''),
251+
label: trans.__('Start time')
252+
},
253253
{
254254
value: timestampLocalize(props.model.endTime ?? ''),
255255
label: trans.__('End time')
256-
},
256+
}
257+
],
258+
[
257259
{
258260
value: props.model.packageInputFolder
259261
? trans.__('Yes')

0 commit comments

Comments
 (0)