-
- Downloads
Deleting a MR you are assigned to should decrements counter
The merge request counter in the UI was not decreasing when a merge request was deleting. This was just due to the cache not being refreshed on a delete action. fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/44458
Showing
- app/models/user.rb 0 additions, 5 deletionsapp/models/user.rb
- app/services/issuable/destroy_service.rb 1 addition, 0 deletionsapp/services/issuable/destroy_service.rb
- changelogs/unreleased/ui-mr-counter-cache.yml 5 additions, 0 deletionschangelogs/unreleased/ui-mr-counter-cache.yml
- spec/services/issuable/destroy_service_spec.rb 12 additions, 2 deletionsspec/services/issuable/destroy_service_spec.rb
Please register or sign in to comment