Fix diff file tree incorrect counters
What does this MR do and why?
Fixes Diffs file tree has incorrect changes counters (#392634 - closed).
This MR removes v-once
from the changes counter because the component can be re-used by the virtual scroller by passing a different prop and it expects that the component re-renders correctly. v-once
causes a single render, so once the counter is rendered it will always stay the same, that's why we see wrong counters with virtual scrolling.
How to set up and validate locally
- Open any MR with many files changed
- Scroll the file tree
- You should see correct change counters alongside file path
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 Stanislav Lashmanov