Job artifacts UI area shows a message to download artifacts when there are none
Summary
Job Artifacts section on the right side of the page shows that there are artifacts to be downlaoded with the following message:
Job artifacts
These artifacts are the latest. They will not be deleted (even if expired) until newer artifacts are available.
However, there are actually none available to take action on.
Steps to reproduce
Run a pipeline that generates artifacts (See example)
Example Project
Refer to: https://gitlab.com/marcel.amirault/test-project/-/blob/master/.gitlab-ci.yml
What is the current bug behavior?
Messaging is not correct, as there are no artifacts to download.
What is the expected correct behavior?
Do not show the Job Artifacts section at all, when none are available to Keep or Download
Relevant logs and/or screenshots
https://gitlab.com/marcel.amirault/test-project/-/jobs/896476708