Fix LabelToken selecting wrong label
What does this MR do and why?
Labels are case-sensitive but the logic in LabelToken does not
treat it as such, resulting in it choosing ~Direction
when
~direction
was actually chosen. This MR fixes that by making the logic to a case-sensitive match.
Changelog: fixed
Resolves: #361073 (closed)
Screenshots or screen recordings
before | after |
---|---|
Screen_Recording_2022-05-17_at_4.27.01_pm | Screen_Recording_2022-05-17_at_4.28.18_pm |
How to set up and validate locally
- Make a
Direction
anddirection
label for a project - Visit the project issues page
- Filter the issues with the
direction
label and confirm it doesn't show theDirection
label
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Coung Ngo