Enhance calendar settings dialog and optimize date selection logic

This commit is contained in:
nessar committed 2025-11-01 20:59:50 +01:00
1 parent d01c93c763
commit 8aad6e4cef
6 files changed
+89 -61

No files matched your search

@@ -24,7 +24,9 @@ export class CalendarYear {
effect(() => {
this.selectedDates = this.calendarService.getSelectedDatesForYear();
const vacationData = this.userInput.vacationNumberSignal();
this.calendarSettingsService.samediMalin();
const c = this.calendarSettingsService.samediMalin();
console.log('Samedi Malin setting:', c);
console.log('Optimizing vacations with data:', vacationData);
this.isLoading.set(true);
// Simulate server-side calculation with a small delay
setTimeout(() => {