From d4c5e55409a0466032d6f5406336879686cae585 Mon Sep 17 00:00:00 2001 From: Kamil Niemczycki Date: Mon, 6 Jun 2022 08:31:01 +0200 Subject: [PATCH] updated calendar --- resources/js/Pages/Calendar.vue | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/resources/js/Pages/Calendar.vue b/resources/js/Pages/Calendar.vue index ea791ae..9881f36 100644 --- a/resources/js/Pages/Calendar.vue +++ b/resources/js/Pages/Calendar.vue @@ -101,8 +101,8 @@ :key="day.dayOfMonth" class="border border-gray-300" :class="{ 'bg-blumilk-25': day.isToday, 'bg-red-100': day.isWeekend || day.isHoliday }" - @mouseover="setActiveBtn(user.id + '+' + day.date)" - @mouseleave="unsetActiveBtn" + @mouseover="setActiveDay(user.id + '+' + day.date)" + @mouseleave="unsetActiveDay" >