Commit d4860233 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove addAssignees logic from issues model

parent ee8c4dbc
......@@ -50,9 +50,7 @@ class ListIssue {
}
addAssignee(assignee) {
if (!this.findAssignee(assignee)) {
this.assignees.push(new ListAssignee(assignee));
}
boardsStore.addIssueAssignee(this, assignee);
}
findAssignee(findAssignee) {
......
......@@ -616,6 +616,12 @@ const boardsStore = {
);
},
addIssueAssignee(issue, assignee) {
if (!issue.findAssignee(assignee)) {
issue.assignees.push(new ListAssignee(assignee));
}
},
bulkUpdate(issueIds, extraData = {}) {
const data = {
update: Object.assign(extraData, {
......
---
title: Remove addAssignee logic from issue model
merge_request: 32231
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