mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +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 class="creation-confirm">
|
||||||
<div>
|
<div>
|
||||||
<b-tabs content-class="mt-3" fill>
|
<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
|
<open-creations-table
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
:items="pendingCreations"
|
:items="pendingCreations"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user