Pipeline More Actions showing empty dropdown when skipped

Reproducible on .com.

When the pipeline is skipped, the more action button shows an empty dropdown for Artifacts. An example in here.

Screenshot_2021-07-29_at_16.49.15