Skip to content

Issues list: Don't render empty closed badge

What does this MR do and why?

Issues list: Don't render empty closed badge

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
before2 after2
before after

How to set up and validate locally

  1. Go to a issue list (e.g. http://gdk.test:3000/flightjs/Flight/-/issues)
  2. Inspect an issue item (search for ul.controls)
  3. The badge should not render (rendered an empty badge before)
  4. Click on the closed tab on the top
  5. Closed badge should appear

Related to #424396 (comment 1701537907)

Edited by Sascha Eggenberger

Merge request reports