Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4ed4d712
Commit
4ed4d712
authored
May 27, 2020
by
Marvin Karegyeya
Committed by
Kushal Pandya
May 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove findIssue logic from list model
parent
58ddbc5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
app/assets/javascripts/boards/models/list.js
app/assets/javascripts/boards/models/list.js
+1
-1
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+4
-0
changelogs/unreleased/Remove-findissue-logic-from-list-model.yml
...ogs/unreleased/Remove-findissue-logic-from-list-model.yml
+5
-0
No files found.
app/assets/javascripts/boards/models/list.js
View file @
4ed4d712
...
...
@@ -182,7 +182,7 @@ class List {
}
findIssue
(
id
)
{
return
this
.
issues
.
find
(
issue
=>
issue
.
id
===
id
);
return
boardsStore
.
findListIssue
(
this
,
id
);
}
removeMultipleIssues
(
removeIssues
)
{
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
4ed4d712
...
...
@@ -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
'
));
},
...
...
changelogs/unreleased/Remove-findissue-logic-from-list-model.yml
0 → 100644
View file @
4ed4d712
---
title
:
Remove findIssue logic from list model
merge_request
:
32241
author
:
nuwe1
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment