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
22af8970
Commit
22af8970
authored
Apr 26, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] fix assign self
parent
96ea697b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
app/assets/javascripts/sidebar/components/assignees/assignees.js
...ets/javascripts/sidebar/components/assignees/assignees.js
+1
-1
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
...scripts/sidebar/components/assignees/sidebar_assignees.js
+5
-2
No files found.
app/assets/javascripts/sidebar/components/assignees/assignees.js
View file @
22af8970
...
...
@@ -71,7 +71,7 @@ export default {
},
methods
:
{
assignSelf
()
{
this
.
$emit
(
'
assign
S
elf
'
);
this
.
$emit
(
'
assign
-s
elf
'
);
},
toggleShowLess
()
{
this
.
showLess
=
!
this
.
showLess
;
...
...
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
View file @
22af8970
...
...
@@ -40,9 +40,11 @@ export default {
this
.
loading
=
false
;
}
const
setLoadingFalseWrapper
=
setLoadingFalse
.
bind
(
this
);
this
.
mediator
.
saveSelectedUsers
(
this
.
field
)
.
then
(
setLoadingFalse
)
.
catch
(
setLoadingFalse
);
.
then
(
setLoadingFalse
Wrapper
)
.
catch
(
setLoadingFalse
Wrapper
);
},
},
created
()
{
...
...
@@ -67,6 +69,7 @@ export default {
v-if="!loading"
:root-path="store.rootPath"
:users="store.renderedUsers"
@assign-self="assignSelf"
/>
</div>
`
,
...
...
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