This commit is contained in:
Adrian Hopek
2022-03-03 10:52:05 +01:00
parent c21d2c8663
commit fdafb76461
7 changed files with 505 additions and 5 deletions

View File

@@ -281,7 +281,7 @@ import {
XIcon,
SunIcon,
StarIcon,
CalendarIcon,
CalendarIcon, DocumentTextIcon,
} from '@heroicons/vue/outline'
import {
CashIcon,
@@ -329,7 +329,8 @@ export default {
const navigation = computed(() =>
[
{name: 'Wnioski urlopowe', href: '/vacation-requests', icon: CollectionIcon, can: true},
{name: 'Moje wnioski', href: '/vacation-requests/me', icon: DocumentTextIcon, can: true},
{name: 'Wnioski urlopowe', href: '/vacation-requests', icon: CollectionIcon, can: auth.value.can.listAllVacationRequests},
{name: 'Kalendarz urlopów', href: '/vacation-calendar', icon: CalendarIcon, can: true},
{name: 'Dni wolne', href: '/holidays', icon: StarIcon, can: true},
{name: 'Limity urlopów', href: '/vacation-limits', icon: SunIcon, can: auth.value.can.manageVacationLimits},