From 90300b0644759dbf8e2ef48aad40be2b2ab4d355 Mon Sep 17 00:00:00 2001 From: Sergey Karmanov Date: Sun, 24 May 2026 21:34:59 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D1=83=D0=BD=D0=BA=D1=82=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=84=D0=B8=D0=BB=D1=8F=20=D0=B8=D0=B7=20=D0=BD=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=B3=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/layout/AppBottomNav.vue | 2 -- frontend/src/components/layout/AppSidebar.vue | 2 -- 2 files changed, 4 deletions(-) diff --git a/frontend/src/components/layout/AppBottomNav.vue b/frontend/src/components/layout/AppBottomNav.vue index bbaae61..052c342 100644 --- a/frontend/src/components/layout/AppBottomNav.vue +++ b/frontend/src/components/layout/AppBottomNav.vue @@ -13,7 +13,6 @@ const navItems = computed(() => { { label: 'Дашборд', icon: 'chart-bar', to: '/teacher' }, { label: 'Лекции', icon: 'book-2', to: '/teacher/lectures' }, { label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics' }, - { label: 'Профиль', icon: 'user', to: '/profile' }, ] if (role === 'admin') return [ { label: 'Дашборд', icon: 'shield', to: '/admin' }, @@ -25,7 +24,6 @@ const navItems = computed(() => { { label: 'Главная', icon: 'home', to: '/' }, { label: 'Лекции', icon: 'books', to: '/catalog' }, { label: 'Мои', icon: 'clipboard-list', to: '/my-lectures' }, - { label: 'Профиль', icon: 'user', to: '/profile' }, ] }) diff --git a/frontend/src/components/layout/AppSidebar.vue b/frontend/src/components/layout/AppSidebar.vue index faf05b2..0599500 100644 --- a/frontend/src/components/layout/AppSidebar.vue +++ b/frontend/src/components/layout/AppSidebar.vue @@ -13,12 +13,10 @@ const navItems: NavItem[] = [ { label: 'Главная', icon: 'home', to: '/', roles: ['student'] }, { label: 'Каталог', icon: 'books', to: '/catalog', roles: ['student'] }, { label: 'Мои записи', icon: 'clipboard-list', to: '/my-lectures', roles: ['student'] }, - { label: 'Профиль', icon: 'user', to: '/profile', roles: ['student'] }, // Teacher { label: 'Дашборд', icon: 'chart-bar', to: '/teacher', roles: ['teacher'] }, { label: 'Лекции', icon: 'book-2', to: '/teacher/lectures', roles: ['teacher'] }, { label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics', roles: ['teacher'] }, - { label: 'Профиль', icon: 'user', to: '/profile', roles: ['teacher'] }, // Admin { label: 'Дашборд', icon: 'shield', to: '/admin', roles: ['admin'] }, { label: 'Пользователи', icon: 'users', to: '/admin/users', roles: ['admin'] },