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
27a503a6
Commit
27a503a6
authored
Apr 01, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] fix props style
parent
62c152ce
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
9 deletions
+33
-9
app/assets/javascripts/vue_sidebar_assignees/components/assignee_title.js
...cripts/vue_sidebar_assignees/components/assignee_title.js
+12
-3
app/assets/javascripts/vue_sidebar_assignees/components/collapsed/assignees.js
...s/vue_sidebar_assignees/components/collapsed/assignees.js
+4
-1
app/assets/javascripts/vue_sidebar_assignees/components/collapsed/avatar.js
...ipts/vue_sidebar_assignees/components/collapsed/avatar.js
+4
-1
app/assets/javascripts/vue_sidebar_assignees/components/expanded/multiple_assignees.js
...debar_assignees/components/expanded/multiple_assignees.js
+4
-1
app/assets/javascripts/vue_sidebar_assignees/components/expanded/no_assignee.js
.../vue_sidebar_assignees/components/expanded/no_assignee.js
+4
-1
app/assets/javascripts/vue_sidebar_assignees/components/expanded/single_assignee.js
..._sidebar_assignees/components/expanded/single_assignee.js
+4
-1
app/assets/javascripts/vue_sidebar_assignees/index.js
app/assets/javascripts/vue_sidebar_assignees/index.js
+1
-1
No files found.
app/assets/javascripts/vue_sidebar_assignees/components/assignee_title.js
View file @
27a503a6
export
default
{
name
:
'
AssigneeTitle
'
,
props
:
{
loading
:
{
type
:
Boolean
,
required
:
true
},
numberOfAssignees
:
{
type
:
Number
,
required
:
true
},
editable
:
{
type
:
Boolean
,
required
:
true
},
loading
:
{
type
:
Boolean
,
required
:
true
},
numberOfAssignees
:
{
type
:
Number
,
required
:
true
},
editable
:
{
type
:
Boolean
,
required
:
true
},
},
computed
:
{
hasMultipleAssignees
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/components/collapsed/assignees.js
View file @
27a503a6
...
...
@@ -8,7 +8,10 @@ export default {
};
},
props
:
{
users
:
{
type
:
Array
,
required
:
true
},
users
:
{
type
:
Array
,
required
:
true
},
},
computed
:
{
title
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/components/collapsed/avatar.js
View file @
27a503a6
export
default
{
name
:
'
CollapsedAvatar
'
,
props
:
{
user
:
{
type
:
Object
,
required
:
true
},
user
:
{
type
:
Object
,
required
:
true
},
},
computed
:
{
alt
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/components/expanded/multiple_assignees.js
View file @
27a503a6
...
...
@@ -6,7 +6,10 @@ export default {
};
},
props
:
{
assignees
:
{
type
:
Object
,
required
:
true
},
assignees
:
{
type
:
Object
,
required
:
true
},
},
computed
:
{
rootPath
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/components/expanded/no_assignee.js
View file @
27a503a6
export
default
{
name
:
'
NoAssignee
'
,
props
:
{
assignees
:
{
type
:
Object
,
required
:
true
},
assignees
:
{
type
:
Object
,
required
:
true
},
},
methods
:
{
assignSelf
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/components/expanded/single_assignee.js
View file @
27a503a6
export
default
{
name
:
'
SingleAssignee
'
,
props
:
{
assignees
:
{
type
:
Object
,
required
:
true
},
assignees
:
{
type
:
Object
,
required
:
true
},
},
computed
:
{
rootPath
()
{
...
...
app/assets/javascripts/vue_sidebar_assignees/index.js
View file @
27a503a6
...
...
@@ -58,12 +58,12 @@ const sidebarAssigneesOptions = () => ({
},
template
:
`
<div>
<collapsed-assignees :users="assignees.users"/>
<assignee-title
:numberOfAssignees="assignees.users.length"
:loading="assignees.loading"
:editable="assignees.editable"
/>
<collapsed-assignees :users="assignees.users"/>
<component v-if="assignees.saved"
class="value"
:is="componentName"
...
...
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