Welcome to mirror list, hosted at ThFree Co, Russian Federation.

drafts_count.vue « components « batch_comments « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1180760c4d97931b0c56082c2805ba8b706e159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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>