diff --git a/apps/frontend/src/components/layout/TabBar.vue b/apps/frontend/src/components/layout/TabBar.vue
index e7e5e78..8046acb 100644
--- a/apps/frontend/src/components/layout/TabBar.vue
+++ b/apps/frontend/src/components/layout/TabBar.vue
@@ -6,11 +6,12 @@
class="flex justify-around sm:justify-between sm:gap-8 sm:px-4 sm:flex-row sm:bg-white sm:max-w-prose mx-auto"
>
@@ -22,6 +23,7 @@ type Tab = {
route: (typeof ROUTE_NAMES)[keyof typeof ROUTE_NAMES]
label: string
icon: string
+ unreadCount?: number
}
const tabs: Tab[] = [
{ route: ROUTE_NAMES.CREATE, label: 'Создать QR-код', icon: 'plus' },
diff --git a/apps/frontend/src/components/layout/TabMenuItem.vue b/apps/frontend/src/components/layout/TabMenuItem.vue
index c33abbd..bb3f6da 100644
--- a/apps/frontend/src/components/layout/TabMenuItem.vue
+++ b/apps/frontend/src/components/layout/TabMenuItem.vue
@@ -1,11 +1,10 @@
-
+
{{ label }}
+
+ {{ unreadCount }}
+
@@ -25,5 +30,6 @@ defineProps<{
readonly to: RouteLocationRaw | string
readonly icon: string
readonly label: string
+ readonly unreadCount?: number
}>()