refactor: Удалил пункт профиля из навигации
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Failing after 12m0s
Frontend CI / build-and-check (push) Failing after 17m56s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 14m7s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 14m58s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Failing after 14m59s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Failing after 12m0s
Frontend CI / build-and-check (push) Failing after 17m56s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 14m7s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 14m58s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Failing after 14m59s
This commit is contained in:
@@ -13,7 +13,6 @@ const navItems = computed(() => {
|
|||||||
{ label: 'Дашборд', icon: 'chart-bar', to: '/teacher' },
|
{ label: 'Дашборд', icon: 'chart-bar', to: '/teacher' },
|
||||||
{ label: 'Лекции', icon: 'book-2', to: '/teacher/lectures' },
|
{ label: 'Лекции', icon: 'book-2', to: '/teacher/lectures' },
|
||||||
{ label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics' },
|
{ label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics' },
|
||||||
{ label: 'Профиль', icon: 'user', to: '/profile' },
|
|
||||||
]
|
]
|
||||||
if (role === 'admin') return [
|
if (role === 'admin') return [
|
||||||
{ label: 'Дашборд', icon: 'shield', to: '/admin' },
|
{ label: 'Дашборд', icon: 'shield', to: '/admin' },
|
||||||
@@ -25,7 +24,6 @@ const navItems = computed(() => {
|
|||||||
{ label: 'Главная', icon: 'home', to: '/' },
|
{ label: 'Главная', icon: 'home', to: '/' },
|
||||||
{ label: 'Лекции', icon: 'books', to: '/catalog' },
|
{ label: 'Лекции', icon: 'books', to: '/catalog' },
|
||||||
{ label: 'Мои', icon: 'clipboard-list', to: '/my-lectures' },
|
{ label: 'Мои', icon: 'clipboard-list', to: '/my-lectures' },
|
||||||
{ label: 'Профиль', icon: 'user', to: '/profile' },
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,10 @@ const navItems: NavItem[] = [
|
|||||||
{ label: 'Главная', icon: 'home', to: '/', roles: ['student'] },
|
{ label: 'Главная', icon: 'home', to: '/', roles: ['student'] },
|
||||||
{ label: 'Каталог', icon: 'books', to: '/catalog', roles: ['student'] },
|
{ label: 'Каталог', icon: 'books', to: '/catalog', roles: ['student'] },
|
||||||
{ label: 'Мои записи', icon: 'clipboard-list', to: '/my-lectures', roles: ['student'] },
|
{ label: 'Мои записи', icon: 'clipboard-list', to: '/my-lectures', roles: ['student'] },
|
||||||
{ label: 'Профиль', icon: 'user', to: '/profile', roles: ['student'] },
|
|
||||||
// Teacher
|
// Teacher
|
||||||
{ label: 'Дашборд', icon: 'chart-bar', to: '/teacher', roles: ['teacher'] },
|
{ label: 'Дашборд', icon: 'chart-bar', to: '/teacher', roles: ['teacher'] },
|
||||||
{ label: 'Лекции', icon: 'book-2', to: '/teacher/lectures', roles: ['teacher'] },
|
{ label: 'Лекции', icon: 'book-2', to: '/teacher/lectures', roles: ['teacher'] },
|
||||||
{ label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics', roles: ['teacher'] },
|
{ label: 'Аналитика', icon: 'chart-line', to: '/teacher/analytics', roles: ['teacher'] },
|
||||||
{ label: 'Профиль', icon: 'user', to: '/profile', roles: ['teacher'] },
|
|
||||||
// Admin
|
// Admin
|
||||||
{ label: 'Дашборд', icon: 'shield', to: '/admin', roles: ['admin'] },
|
{ label: 'Дашборд', icon: 'shield', to: '/admin', roles: ['admin'] },
|
||||||
{ label: 'Пользователи', icon: 'users', to: '/admin/users', roles: ['admin'] },
|
{ label: 'Пользователи', icon: 'users', to: '/admin/users', roles: ['admin'] },
|
||||||
|
|||||||
Reference in New Issue
Block a user