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
d4860233
Commit
d4860233
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 addAssignees logic from issues model
parent
ee8c4dbc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
app/assets/javascripts/boards/models/issue.js
app/assets/javascripts/boards/models/issue.js
+1
-3
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+6
-0
changelogs/unreleased/Remove-addAssignee-logic-from-issues-model.yml
...unreleased/Remove-addAssignee-logic-from-issues-model.yml
+5
-0
No files found.
app/assets/javascripts/boards/models/issue.js
View file @
d4860233
...
...
@@ -50,9 +50,7 @@ class ListIssue {
}
addAssignee
(
assignee
)
{
if
(
!
this
.
findAssignee
(
assignee
))
{
this
.
assignees
.
push
(
new
ListAssignee
(
assignee
));
}
boardsStore
.
addIssueAssignee
(
this
,
assignee
);
}
findAssignee
(
findAssignee
)
{
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
d4860233
...
...
@@ -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
,
{
...
...
changelogs/unreleased/Remove-addAssignee-logic-from-issues-model.yml
0 → 100644
View file @
d4860233
---
title
:
Remove addAssignee logic from issue model
merge_request
:
32231
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