Fix hide whitespace changes button
This commit is contained in:
parent
829c6a63f7
commit
c6d1ce20fd
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
- if current_controller?(:commit)
|
||||
= commit_diff_whitespace_link(diffs.project, @commit, class: 'd-none d-sm-inline-block')
|
||||
- elsif current_controller?('projects/merge_requests/diffs')
|
||||
= diff_merge_request_whitespace_link(diffs.project, @merge_request, class: 'd-none d-sm-block')
|
||||
= diff_merge_request_whitespace_link(diffs.project, @merge_request, class: 'd-none d-sm-inline-block')
|
||||
- elsif current_controller?(:compare)
|
||||
= diff_compare_whitespace_link(diffs.project, params[:from], params[:to], class: 'd-none d-sm-inline-block')
|
||||
.btn-group
|
||||
|
|
Loading…
Reference in a new issue