Artifact's download button displaying for every job row
I think there is a bug with the artifacts button displaying when it should not
It displays for every job row, because it seems every job has a trace artifact. But what every job does not have is other file types.
And we always just grab the first objects download path
artifactDownloadPath() {
return this.job.artifacts?.nodes[0]?.downloadPath;
}
Looking at app/views/projects/ci/builds/_build.html.haml
I wonder how download_project_job_artifacts_path
works and if job.artifacts
is any different in REST vs GraphQL?