debian-mirror-gitlab/app/assets/javascripts/batch_comments/components/drafts_count.vue

16 lines
360 B
Vue
Raw Normal View History

2020-06-23 00:09:42 +05:30
<script>
import { mapGetters } from 'vuex';
export default {
computed: {
...mapGetters('batchComments', ['draftsCount']),
},
};
</script>
<template>
<span class="drafts-count-component">
<span class="drafts-count-number">{{ draftsCount }}</span>
<span class="sr-only"> {{ n__('draft', 'drafts', draftsCount) }} </span>
</span>
</template>