* #118 - wip

* #118 - keys

* #118 - fix

* #118 - fix menu

* #118 - fix to policies and added translations

* #118 - wip

* #118 - tests

* #118 - fix

* #118 - fix

* #118 - fix

* Update resources/lang/pl.json

Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>

* #118 - cr fix

Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
Adrian Hopek
2022-04-21 08:16:31 +02:00
committed by GitHub
parent c95d08c861
commit d60dc75f99
16 changed files with 769 additions and 3 deletions

View File

@@ -294,6 +294,7 @@ import {
CalendarIcon,
DocumentTextIcon,
AdjustmentsIcon,
KeyIcon,
} from '@heroicons/vue/outline'
import { CheckIcon, ChevronDownIcon } from '@heroicons/vue/solid'
@@ -351,7 +352,6 @@ const navigation = computed(() =>
can: props.auth.can.manageVacationLimits,
},
{
name: 'Podsumowanie roczne',
href: '/vacation/annual-summary',
section: 'AnnualSummary',
@@ -365,5 +365,13 @@ const navigation = computed(() =>
icon: UserGroupIcon,
can: props.auth.can.manageUsers,
},
{
name: 'Klucze',
href: '/keys',
section: 'Keys',
icon: KeyIcon,
can: true,
},
].filter(item => item.can))
</script>