Fix link anchors for synthetic system notes
What does this MR do and why?
System notes from label, milestone, and state changes are represented by synthetic system notes that have an alphanumeric ID. We should not call getIdFromGraphQLId on these because these would return null.
This is a regression from 3255cf6d
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:
How to set up and validate locally
- Change some labels on an issue
- Hover over the timestamp link and check the anchor
- You can also click on the timestamp and it should get highlighted and the browser URL updated to the correct link with anchor
Edited by Heinrich Lee Yu