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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
00226a94
Commit
00226a94
authored
Aug 01, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import `group_identicon` minor clean up and prop updates
parent
59377d54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/groups/components/group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+7
-7
No files found.
app/assets/javascripts/groups/components/group_item.vue
View file @
00226a94
<
script
>
<
script
>
import
eventHub
from
'
../event_hub
'
;
import
eventHub
from
'
../event_hub
'
;
import
groupIdenticon
from
'
./group_identicon.vue
'
;
export
default
{
export
default
{
components
:
{
groupIdenticon
,
},
props
:
{
props
:
{
group
:
{
group
:
{
type
:
Object
,
type
:
Object
,
...
@@ -93,11 +97,7 @@ export default {
...
@@ -93,11 +97,7 @@ export default {
return
Object
.
keys
(
this
.
group
.
subGroups
).
length
>
0
;
return
Object
.
keys
(
this
.
group
.
subGroups
).
length
>
0
;
},
},
hasAvatar
()
{
hasAvatar
()
{
if
(
this
.
group
.
avatarUrl
)
{
return
this
.
group
.
avatarUrl
&&
this
.
group
.
avatarUrl
.
indexOf
(
'
/assets/no_group_avatar
'
)
===
-
1
;
return
this
.
group
.
avatarUrl
.
indexOf
(
'
/assets/no_group_avatar
'
)
===
-
1
;
}
else
{
return
false
;
}
},
},
},
},
};
};
...
@@ -207,8 +207,8 @@ export default {
...
@@ -207,8 +207,8 @@ export default {
/>
/>
<group-identicon
<group-identicon
v-else
v-else
:
i
d=
group.id
:
entityI
d=
group.id
:
n
ame=
"group.name"
:
entityN
ame=
"group.name"
/>
/>
</a>
</a>
</div>
</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