aboutsummaryrefslogtreecommitdiff
path: root/src/components/mobile_nav/mobile_nav.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-07-10 13:21:42 +0300
committerShpuld Shpuldson <shp@cock.li>2020-07-10 13:21:42 +0300
commit0038a9794b4f12f9f57a6739c43910b289d18fe4 (patch)
tree0cd5d2c77ef0b6d767c65f26587d9b8db96ee353 /src/components/mobile_nav/mobile_nav.vue
parentc1a20079bef51dc38cb9826cee5bb2fbfe2cf68b (diff)
add simple red dot for chat notifs
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
-rw-r--r--src/components/mobile_nav/mobile_nav.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index e0620fce..abd95f09 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -16,6 +16,10 @@
@click.stop.prevent="toggleMobileSidebar()"
>
<i class="button-icon icon-menu" />
+ <div
+ v-if="unreadChatCount"
+ class="alert-dot"
+ />
</a>
<router-link
v-if="!hideSitename"