File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export default function WorkflowBox({
222222 < div key = { job . id } id = { `${ job . id } -box` } >
223223 < WorkflowJobSummary
224224 job = { job }
225- artifacts = { groupedArtifacts ?. get ( job . id ) }
225+ artifacts = { groupedArtifacts ?. get ( job . id ?. toString ( ) ) }
226226 artifactsToShow = { artifactsToShow }
227227 setArtifactsToShow = { setArtifactsToShow }
228228 unstableIssues = { unstableIssues }
@@ -264,7 +264,7 @@ function useArtifacts(workflowId: string | undefined): {
264264
265265function groupArtifacts ( jobs : JobData [ ] , artifacts : Artifact [ ] ) {
266266 // Group artifacts by job id if possible
267- const jobIds = jobs . map ( ( job ) => job . id ) ;
267+ const jobIds = jobs . map ( ( job ) => job . id ?. toString ( ) ) ;
268268 const grouping = new Map < string | undefined , Artifact [ ] > ( ) ;
269269 for ( const artifact of artifacts ) {
270270 let key = "none" ;
You can’t perform that action at this time.
0 commit comments