This commit is contained in:
Adrian Hopek
2022-02-21 14:57:18 +01:00
parent 0f5b9ecc0b
commit 9ada0f843d
6 changed files with 81 additions and 61 deletions

View File

@@ -9,7 +9,7 @@
</div>
<div>
<a
:href="`timesheet?month=${currentMonth}`"
:href="`timesheet/${selectedMonth.value}`"
class="inline-flex items-center px-4 py-3 border border-transparent text-sm leading-4 font-medium rounded-md shadow-sm text-white bg-blumilk-600 hover:bg-blumilk-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blumilk-500"
>
Pobierz plik excel
@@ -52,8 +52,7 @@
v-slot="{ active }"
>
<InertiaLink
href="/vacation-calendar"
:data="{ month: month.value }"
:href="`/vacation-calendar/${month.value}`"
:class="[active ? 'bg-gray-100 text-gray-900' : 'text-gray-700', 'flex w-full font-normal px-4 py-2 text-sm']"
>
{{ month.name }}