Added follow requests counter to nav bar to make it visible behorehand

This commit is contained in:
eugenijm 2019-02-11 12:41:17 +03:00
parent 10990e1715
commit d831b81912
3 changed files with 17 additions and 1 deletions

View file

@ -45,6 +45,10 @@
<li v-if="currentUser && currentUser.locked" @click="toggleDrawer">
<router-link to='/friend-requests'>
{{ $t("nav.friend_requests") }}
<span v-if='currentUser.follow_request_count > 0' class="badge follow-request-count">
{{currentUser.follow_request_count}}
</span>
</router-link>
</li>
<li @click="toggleDrawer">