This commit is contained in:
Adrian Hopek 2022-02-08 13:50:26 +01:00
parent 753d4bb296
commit 95bead085c

View File

@ -45,7 +45,6 @@ class VacationCalendarController extends Controller
"dayOfWeek" => $day->translatedFormat("D"),
"isToday" => $day->isToday(),
"isWeekend" => $day->isWeekend(),
"isVacation" => Arr::random([false, false, false, false, true]),
"isHoliday" => $holidays->contains($day),
];
}
@ -60,7 +59,6 @@ class VacationCalendarController extends Controller
];
}
return inertia("Calendar", [
"calendar" => $calendar,
"currentMonth" => $month,