Commit 8122c4d3 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'Remove-removeAllAssignees-logic-from-issue-model' into 'master'

Remove removeAllAssignees logic from issue model

See merge request gitlab-org/gitlab!32247
parents 80849224 754e3439
...@@ -66,7 +66,7 @@ class ListIssue { ...@@ -66,7 +66,7 @@ class ListIssue {
} }
removeAllAssignees() { removeAllAssignees() {
this.assignees = []; boardsStore.removeAllIssueAssignees(this);
} }
addMilestone(milestone) { addMilestone(milestone) {
......
...@@ -686,6 +686,11 @@ const boardsStore = { ...@@ -686,6 +686,11 @@ const boardsStore = {
clearMultiSelect() { clearMultiSelect() {
this.multiSelect.list = []; this.multiSelect.list = [];
}, },
removeAllIssueAssignees(issue) {
issue.assignees = [];
},
refreshIssueData(issue, obj) { refreshIssueData(issue, obj) {
issue.id = obj.id; issue.id = obj.id;
issue.iid = obj.iid; issue.iid = obj.iid;
......
---
title: Remove removeAllAssignees logic from issue model
merge_request: 32247
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment