refactor: admin edit and approval modals

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-05-29 16:08:05 +01:00
co-authored by Sisyphus
parent b2788b2269
commit a44972fbc6
4 changed files with 22 additions and 19 deletions
@@ -33,7 +33,7 @@
let saving = $state(false);
let placeholder = $state<CalendarDate>(
new CalendarDate(new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate())
new CalendarDate(new SvelteDate().getFullYear(), new SvelteDate().getMonth() + 1, new SvelteDate().getDate())
);
let selectedDate = $state<CalendarDate | undefined>(undefined);
let selectedTime = $state<string | null>(null);
@@ -237,7 +237,7 @@
loadingMonths = {};
loadingMonthKeys = new Set();
rescheduleAutoSelectDone = false;
placeholder = new CalendarDate(new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate());
placeholder = new CalendarDate(new SvelteDate().getFullYear(), new SvelteDate().getMonth() + 1, new SvelteDate().getDate());
}
async function reschedule() {