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
280b4c14
Commit
280b4c14
authored
Apr 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] move endpoint to handler
parent
88eff9da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+3
-2
No files found.
app/assets/javascripts/boards/components/board_sidebar.js
View file @
280b4c14
...
@@ -46,6 +46,8 @@ require('./sidebar/remove_issue');
...
@@ -46,6 +46,8 @@ require('./sidebar/remove_issue');
this
.
issue
=
this
.
detail
.
issue
;
this
.
issue
=
this
.
detail
.
issue
;
this
.
list
=
this
.
detail
.
list
;
this
.
list
=
this
.
detail
.
list
;
this
.
endpoint
=
document
.
querySelector
(
'
.js-issue-board-sidebar
'
).
dataset
.
issueUpdate
;
},
},
deep
:
true
deep
:
true
},
},
...
@@ -81,8 +83,7 @@ require('./sidebar/remove_issue');
...
@@ -81,8 +83,7 @@ require('./sidebar/remove_issue');
saveUsers
()
{
saveUsers
()
{
this
.
loadingAssignees
=
true
;
this
.
loadingAssignees
=
true
;
const
endpoint
=
document
.
querySelector
(
'
.js-issue-board-sidebar
'
).
dataset
.
issueUpdate
;
gl
.
issueBoards
.
BoardsStore
.
detail
.
issue
.
update
(
this
.
endpoint
)
gl
.
issueBoards
.
BoardsStore
.
detail
.
issue
.
update
(
endpoint
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
this
.
loadingAssignees
=
false
;
this
.
loadingAssignees
=
false
;
...
...
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