docs: fix prev button on second month in DatePickerWithIndependentMonths.vue (#501)

This commit is contained in:
Eduard Predescu 2024-04-17 22:37:32 +03:00 committed by GitHub
parent fbe14a20c1
commit 57ee2fc017
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -219,9 +219,9 @@ watch(secondMonthPlaceholder, (_secondMonthPlaceholder) => {
'h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100',
)
"
@click="updateMonth('second', 1)"
@click="updateMonth('second', -1)"
>
<ChevronRight class="h-4 w-4" />
<ChevronLeft class="h-4 w-4" />
</button>
<div
:class="cn('text-sm font-medium')"

View File

@ -217,9 +217,9 @@ watch(secondMonthPlaceholder, (_secondMonthPlaceholder) => {
'h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100',
)
"
@click="updateMonth('second', 1)"
@click="updateMonth('second', -1)"
>
<ChevronRight class="h-4 w-4" />
<ChevronLeft class="h-4 w-4" />
</button>
<div :class="cn('text-sm font-medium')">
{{