Merge pull request #6752 from Ocelot-Social-Community/tarun_samanta/#6750

fix(webapp): chat-only show counter if unread messages exist
This commit is contained in:
mahula 2023-09-26 21:08:14 +02:00 committed by GitHub
commit fac8301e8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<template>
<span class="counter-icon">
<base-icon :name="icon" />
<span :class="counterClass">{{ cappedCount }}</span>
<span v-if="count > 0" :class="counterClass">{{ cappedCount }}</span>
</span>
</template>