Merge requests tab counter updates remove the badge wrapper
When we update the counter in merge requests Changes tab we also remove the wrapper element on the badge itself. This caused for a broken display of the badge.
Before update | After update |
---|---|
![]() |
![]() |
This only happens when the counter is either empty and updated or it is different from what the server displays initially.
In order to fix this we should respect the wrapper element.
Edited by 🤖 GitLab Bot 🤖