Empty changes tab on merge requests should not show file browser and display options
Summary
On merge requests without changes, the empty state still shows the file browser and the dropdown for display options, even though both of these don't make sense when there are no changes.
Scenario | Before | After |
---|---|---|
0 commits, 0 changes | ![]() |
![]() |
2 commits, 0 changes, 0 versions | ![]() |
![]() |
2 commits, 0 changes, 1 version | ![]() |
![]() |
2 commits, 5 changes | ![]() |
![]() |
individual commit | ![]() |
![]() |
comparing same version | ![]() |
![]() |
Edited by Marcel van Remmerden