Clicking on the "Changes" tab of an MR with no changes shows "NaN" instead of "0"

Steps to reproduce:

  • Create a new MR
  • Click on the "Changes" tab.
  • It shows "NaN" as the count instead of "0"

Screenshot_2022-09-16_at_12.23.03_PM