Fix diff comment on whitespace only change
Fixes a bug where a user could not leave a comment on a whitespace only change, with the `Show whitespace changes` checkbox unchecked and after clicking the `Show changes` button. https://gitlab.com/gitlab-org/gitlab/-/issues/442351
显示
- app/assets/javascripts/diffs/store/mutations.js 4 个添加, 1 个删除app/assets/javascripts/diffs/store/mutations.js
- app/assets/javascripts/diffs/store/utils.js 2 个添加, 1 个删除app/assets/javascripts/diffs/store/utils.js
- spec/features/merge_request/user_comments_on_whitespace_hidden_diff_spec.rb 89 个添加, 30 个删除...e_request/user_comments_on_whitespace_hidden_diff_spec.rb
- spec/lib/gitlab/git/repository_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/git/repository_spec.rb
- spec/support/helpers/test_env.rb 1 个添加, 0 个删除spec/support/helpers/test_env.rb
加载中
想要评论请 注册 或 登录