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
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
>
import
eventHub
from
'
../event_hub
'
;
import
groupIdenticon
from
'
./group_identicon.vue
'
;
export
default
{
components
:
{
groupIdenticon
,
},
props
:
{
group
:
{
type
:
Object
,
...
...
@@ -93,11 +97,7 @@ export default {
return
Object
.
keys
(
this
.
group
.
subGroups
).
length
>
0
;
},
hasAvatar
()
{
if
(
this
.
group
.
avatarUrl
)
{
return
this
.
group
.
avatarUrl
.
indexOf
(
'
/assets/no_group_avatar
'
)
===
-
1
;
}
else
{
return
false
;
}
return
this
.
group
.
avatarUrl
&&
this
.
group
.
avatarUrl
.
indexOf
(
'
/assets/no_group_avatar
'
)
===
-
1
;
},
},
};
...
...
@@ -207,8 +207,8 @@ export default {
/>
<group-identicon
v-else
:
i
d=
group.id
:
n
ame=
"group.name"
:
entityI
d=
group.id
:
entityN
ame=
"group.name"
/>
</a>
</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