diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 46e12cb..b07db90 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -38,6 +38,9 @@ :data-icon="mainItem.icon" :key="mainItem.path" :class="{ active: isCurrent(mainItem), disabled: mainItem.disabled }" + :data-count=" + mainItem.title === 'Notifications' ? notificationCount() : undefined + " > notification.isRead) + .length; +}