In merge request form, show “Reset to project defaults” button only if approval rules are “dirty”
The following discussion from !32657 should be addressed: - [ ] @pedroms started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32657#note_351868860): > @iamphill ⚙ **Behavior**: Can we change the button visibility behavior so it's only visible if the approval rules are “dirty”? > > - 1+ project rules were modified or removed > - 1+ rules were manually added > @pedroms: The fewer buttons and options we can show, the better. If the approval rules are pristine (i.e. match the project settings) the `Reset` button is not helpful and just adds cognitive load. > — https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32657#note_355332043 > @iamphill: Yeah I think once https://gitlab.com/gitlab-org/gitlab/-/issues/213796 gets solved we can sort out hiding the button.
issue