mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add badge, count open contribution on tab open
This commit is contained in:
parent
b9f4eb5d84
commit
bfcef73636
@ -3,7 +3,13 @@
|
||||
<div class="creation-confirm">
|
||||
<div>
|
||||
<b-tabs content-class="mt-3" fill>
|
||||
<b-tab :title="$t('contributions.open')" active>
|
||||
<b-tab active>
|
||||
<template #title>
|
||||
{{ $t('contributions.open') }}
|
||||
<b-badge v-if="$store.state.openCreations > 0" variant="danger">
|
||||
{{ $store.state.openCreations }}
|
||||
</b-badge>
|
||||
</template>
|
||||
<open-creations-table
|
||||
class="mt-4"
|
||||
:items="pendingCreations"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user