See #890: Display the number of unhandled reports in the sidebar

This commit is contained in:
Eliot Berriot 2019-08-27 10:55:24 +02:00
parent 8f7ab82117
commit f20b27622f
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 16 additions and 1 deletions

View file

@ -95,6 +95,10 @@
class="item"
:to="{name: 'manage.moderation.domains.list'}">
<i class="shield icon"></i><translate translate-context="*/Moderation/*">Moderation</translate>
<div
v-if="$store.state.ui.notifications.pendingReviewReports > 0"
:title="labels.pendingReviewReports"
:class="['ui', 'teal', 'label']">{{ $store.state.ui.notifications.pendingReviewReports }}</div>
</router-link>
<router-link
v-if="$store.state.auth.availablePermissions['settings']"