Commit 754e3439 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove removeAllAssignees logic from issue model

parent 3a51227b
...@@ -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