kafka-ui
kafka-ui copied to clipboard
Fix wrong broker tick, when broker ids starts with other than 0
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)