Empty button in illustration when job is archived
Summary
I get an empty button when the job is archived and the job has no trace. An archived job can not be retried propbably that is why.
Steps to reproduce
- Archived job
- The job has no trace
- Empty button
Example Project
https://staging.gitlab.com/SteveAzz/artifacts/-/jobs/35588873
What is the current bug behavior?
The button state is empty
What is the expected correct behavior?
Button not visiable
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
Reproduced on GitLab.com
Possible fixes
Only show the action button whene job.status.action
present or not an empty object
/cc @filipa