Labels in system notes are not up-to-date after editing/renaming labels
Summary
After renaming labels, system notes continue to show the previous label name and URL. Maybe the description is also unchanged but that hasn't been tested so far.
Steps to reproduce
Visit an issue which has had a label assigned and then renamed, such as https://gitlab.com/gitlab-org/gitlab-ce/issues/25043
Expected behavior
The system note should be up-to-date with the current label name and URL.
Actual behavior
The system note is outdated, show a previous label name and URL.
Relevant logs and/or screenshots
In the following image, the system note shows the old label name “UX done” and the sidebar shows the current label name “UX ready”.
Output of checks
This bug happens on GitLab.com