Skip to content

MR refactor: Empty state between comparing changes is wrong

When using the dropdowns to compare changes between versions, if you select the same version in both:

In Production

  • It doesn't render anything, which is correct: Screen_Shot_2018-06-29_at_11.31.23

In dev, with the refactor:

  • It renders an "Expand all" button that doesn't do anything when clicked
  • It renders an empty state with the wrong message, it says that there are no changes between the branch and master, which is wrong, there are 7 changes files between that branch and master:

Screen_Shot_2018-06-29_at_11.32.19