<script>
import { GlBadge } from '@gitlab/ui';
import { mapGetters } from 'vuex';
export default {
components: {
GlBadge,
},
computed: {
...mapGetters('batchComments', ['draftsCount']),
},
};
</script>
<template>
<gl-badge size="sm" variant="info" class="gl-ml-2">
{{ draftsCount }}
<span class="sr-only"> {{ n__('draft', 'drafts', draftsCount) }} </span>
</gl-badge>
</template>
-
Justin Ho authored
Also update badge variant and add some spacing
1bf772da