@@ -20,6 +20,7 @@ import {
2020 getRunListItemPrice ,
2121 getRunListItemRegion ,
2222 getRunListItemResources ,
23+ getRunListItemSchedule ,
2324 getRunListItemServiceUrl ,
2425 getRunListItemSpot ,
2526} from '../../List/helpers' ;
@@ -38,6 +39,8 @@ export const RunDetails = () => {
3839 } ) ;
3940
4041 const serviceUrl = runData ? getRunListItemServiceUrl ( runData ) : null ;
42+ const schedule = runData ? getRunListItemSchedule ( runData ) : null ;
43+ const nextTriggeredAt = runData ? runData . next_triggered_at : null ;
4144
4245 if ( isLoadingRun )
4346 return (
@@ -115,7 +118,7 @@ export const RunDetails = () => {
115118
116119 < div >
117120 < Box variant = "awsui-key-label" > { t ( 'projects.run.error' ) } </ Box >
118- < div > { getRunError ( runData ) } </ div >
121+ < div > { getRunError ( runData ) ?? '-' } </ div >
119122 </ div >
120123
121124 < div >
@@ -138,6 +141,11 @@ export const RunDetails = () => {
138141 < div > { getRunListItemResources ( runData ) } </ div >
139142 </ div >
140143
144+ < div >
145+ < Box variant = "awsui-key-label" > { t ( 'projects.run.backend' ) } </ Box >
146+ < div > { getRunListItemBackend ( runData ) } </ div >
147+ </ div >
148+
141149 < div >
142150 < Box variant = "awsui-key-label" > { t ( 'projects.run.region' ) } </ Box >
143151 < div > { getRunListItemRegion ( runData ) } </ div >
@@ -152,11 +160,6 @@ export const RunDetails = () => {
152160 < Box variant = "awsui-key-label" > { t ( 'projects.run.spot' ) } </ Box >
153161 < div > { getRunListItemSpot ( runData ) } </ div >
154162 </ div >
155-
156- < div >
157- < Box variant = "awsui-key-label" > { t ( 'projects.run.backend' ) } </ Box >
158- < div > { getRunListItemBackend ( runData ) } </ div >
159- </ div >
160163 </ ColumnLayout >
161164
162165 { serviceUrl && (
@@ -169,6 +172,19 @@ export const RunDetails = () => {
169172 </ div >
170173 </ ColumnLayout >
171174 ) }
175+
176+ { schedule && (
177+ < ColumnLayout columns = { 4 } variant = "text-grid" >
178+ < div >
179+ < Box variant = "awsui-key-label" > { t ( 'projects.run.schedule' ) } </ Box >
180+ < div > { schedule } </ div >
181+ </ div >
182+ < div >
183+ < Box variant = "awsui-key-label" > { t ( 'projects.run.next_run' ) } </ Box >
184+ < div > { nextTriggeredAt ? format ( new Date ( nextTriggeredAt ) , DATE_TIME_FORMAT ) : '-' } </ div >
185+ </ div >
186+ </ ColumnLayout >
187+ ) }
172188 </ Container >
173189
174190 { runData . run_spec . configuration . type === 'dev-environment' && ! runIsStopped ( runData . status ) && (
0 commit comments