summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-12-26 14:03:41 +0530
committerKushal Pandya <kushal@gitlab.com>2017-12-26 14:03:41 +0530
commit1d2b822993e5e3023b68b472966b6cce1491d3ff (patch)
tree96e860419eb07cc92fccd04a6226cad55db20952 /app/assets/javascripts
parentd9527369db3ba726a2efb4598a170291537bb08f (diff)
downloadgitlab-ce-1d2b822993e5e3023b68b472966b6cce1491d3ff.tar.gz
Use ItemStatValue component for project star count
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/groups/components/item_stats.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/groups/components/item_stats.vue b/app/assets/javascripts/groups/components/item_stats.vue
index fbe129913fe..803dc63d39c 100644
--- a/app/assets/javascripts/groups/components/item_stats.vue
+++ b/app/assets/javascripts/groups/components/item_stats.vue
@@ -59,12 +59,12 @@ export default {
:title="s__('Members')"
:value=item.memberCount
/>
- <span
+ <item-stats-value
v-if="isProject"
- class="project-stars">
- <icon name="star"/>
- <span class="stat-value">{{item.starCount}}</span>
- </span>
+ css-class="project-stars"
+ icon-name="star"
+ :value=item.starCount
+ />
<item-stats-value
css-class="item-visibility"
tooltip-placement="left"