|
|
@ -114,7 +114,7 @@ const compareYear = (date1: dayjs.Dayjs, date2: dayjs.Dayjs) => { |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'!bg-brand-50 border-1 !border-brand-500': isMonthSelected(month), |
|
|
|
'!bg-brand-50 border-1 !border-brand-500': isMonthSelected(month), |
|
|
|
}" |
|
|
|
}" |
|
|
|
class="h-9 rounded-lg flex font-medium items-center justify-center hover:(border-1 border-gray-200 bg-gray-100) text-gray-900 cursor-pointer" |
|
|
|
class="h-9 rounded-lg flex items-center justify-center hover:(border-1 border-gray-200 bg-gray-100) text-gray-900 cursor-pointer" |
|
|
|
@click="selectedDate = month" |
|
|
|
@click="selectedDate = month" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ month.format('MMM') }} |
|
|
|
{{ month.format('MMM') }} |
|
|
@ -127,7 +127,7 @@ const compareYear = (date1: dayjs.Dayjs, date2: dayjs.Dayjs) => { |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'!bg-brand-50 !border-1 !border-brand-500': compareYear(year, selectedDate), |
|
|
|
'!bg-brand-50 !border-1 !border-brand-500': compareYear(year, selectedDate), |
|
|
|
}" |
|
|
|
}" |
|
|
|
class="h-9 rounded-lg flex font-medium items-center justify-center hover:(border-1 border-gray-200 bg-gray-100) text-gray-900 cursor-pointer" |
|
|
|
class="h-9 rounded-lg flex items-center justify-center hover:(border-1 border-gray-200 bg-gray-100) text-gray-900 cursor-pointer" |
|
|
|
@click="selectedDate = year" |
|
|
|
@click="selectedDate = year" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ year.format('YYYY') }} |
|
|
|
{{ year.format('YYYY') }} |
|
|
|