kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Fix wrong broker tick, when broker ids starts with other than 0

Open steffen-karlsson opened this issue 1 year ago • 0 comments

What changes did you make? (Give an overview) When the broker index starts with anything other than 0 and onwards, the tick mark is not showing at the correct broker. Example, our brokers starts with 1, for the first one and so on. The tick mark for active broker are always off by 1.

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • [ ] No need to
  • [x] Manually (please, describe, if necessary)
  • [ ] Unit checks
  • [ ] Integration checks
  • [ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • [x] I have performed a self-review of my own code
  • [x] My changes generate no new warnings (e.g. Sonar is happy)
  • [x] New and existing unit tests pass locally with my changes

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged) image

steffen-karlsson avatar Nov 27 '23 08:11 steffen-karlsson