Commit e4414cca authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'Remove-findAssignee-logic-from-issues-model' into 'master'

Remove findAssignee logic  from issue model

See merge request gitlab-org/gitlab!32238
parents d2fd6925 406ac9ac
......@@ -52,7 +52,7 @@ class ListIssue {
}
findAssignee(findAssignee) {
return this.assignees.find(assignee => assignee.id === findAssignee.id);
return boardsStore.findIssueAssignee(this, findAssignee);
}
removeAssignee(removeAssignee) {
......
......@@ -786,6 +786,10 @@ const boardsStore = {
}
},
findIssueAssignee(issue, findAssignee) {
return issue.assignees.find(assignee => assignee.id === findAssignee.id);
},
clearMultiSelect() {
this.multiSelect.list = [];
},
......
---
title: Remove findAssignee logic from issue model
merge_request: 32238
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