debian-mirror-gitlab/app/assets/javascripts/profile/components/followers_tab.vue
2023-05-27 22:25:52 +05:30

24 lines
442 B
Vue

<script>
import { GlBadge, GlTab } from '@gitlab/ui';
import { s__ } from '~/locale';
export default {
i18n: {
title: s__('UserProfile|Followers'),
},
components: {
GlBadge,
GlTab,
},
inject: ['followers'],
};
</script>
<template>
<gl-tab>
<template #title>
<span>{{ $options.i18n.title }}</span>
<gl-badge size="sm" class="gl-ml-2">{{ followers }}</gl-badge>
</template>
</gl-tab>
</template>