File tree Expand file tree Collapse file tree 1 file changed +18
-11
lines changed
Expand file tree Collapse file tree 1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -202,17 +202,24 @@ const workflowColumns = [
202202]
203203
204204const workflowSelected = computed (() => {
205- return selectedSummaries .value .map ((val , idx ) => ({
206- idx: idx + 1 ,
207- user: val .user ,
208- repo: val .repo ,
209- history: val .runs ,
210- completed: val .last ?.completed ? " ✅" : (val .runs ? " ❌" : " " ),
211- success: val .last ?.success ? " ✅" : (val .runs ? " ❌" : " " ),
212- head_branch: val .last ?.head_branch ?? " " ,
213- updated_at: val .last ?.updated_at ?? " " ,
214- duration_sec: val .last ?.duration_sec ?? null ,
215- }));
205+ return selectedSummaries .value .map ((val , idx ) => {
206+ let updated_at = " " ;
207+ if (val .last ?.updated_at ) {
208+ updated_at = fmtDateTime (val .last ?.updated_at );
209+ }
210+
211+ return {
212+ idx: idx + 1 ,
213+ user: val .user ,
214+ repo: val .repo ,
215+ history: val .runs ,
216+ completed: val .last ?.completed ? " ✅" : (val .runs ? " ❌" : " " ),
217+ success: val .last ?.success ? " ✅" : (val .runs ? " ❌" : " " ),
218+ head_branch: val .last ?.head_branch ?? " " ,
219+ updated_at ,
220+ duration_sec: val .last ?.duration_sec ?? null ,
221+ }
222+ });
216223});
217224
218225const runColumns = [
You can’t perform that action at this time.
0 commit comments