Commit 4ed4d712 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Kushal Pandya

Remove findIssue logic from list model

parent 58ddbc5d
......@@ -182,7 +182,7 @@ class List {
}
findIssue(id) {
return this.issues.find(issue => issue.id === id);
return boardsStore.findListIssue(this, id);
}
removeMultipleIssues(removeIssues) {
......
......@@ -177,6 +177,10 @@ const boardsStore = {
}
}
},
findListIssue(list, id) {
return list.issues.find(issue => issue.id === id);
},
welcomeIsHidden() {
return parseBoolean(Cookies.get('issue_board_welcome_hidden'));
},
......
---
title: Remove findIssue logic from list model
merge_request: 32241
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