This commit is contained in:
2021-06-16 17:54:21 +00:00
parent f1da826781
commit 9e00b07be4

View File

@@ -153,14 +153,16 @@
</v-toolbar-title> </v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn text icon to="/home-notifications" data-cy="notification"> <template v-if="$store.state.notifyAvailable">
<v-badge color="deep-purple" :value="newNotificationCount() > 0"> <v-btn text icon to="/home-notifications" data-cy="notification">
<template v-slot:badge> <v-badge color="deep-purple" :value="newNotificationCount() > 0">
{{ newNotificationCount() }} <template v-slot:badge>
</template> {{ newNotificationCount() }}
<v-icon>$ayiBell</v-icon> </template>
</v-badge> <v-icon>$ayiBell</v-icon>
</v-btn> </v-badge>
</v-btn>
</template>
<v-toolbar-items> <v-toolbar-items>
<template v-for="item in appBar.menuItems"> <template v-for="item in appBar.menuItems">