mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: load the new month's events when a day from another month is clicked in the calendar
This commit is contained in:
parent
bbfa876afd
commit
460dbac1e7
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@
|
|||
|
||||
function handleDayClick(day: Date) {
|
||||
currentDate = day;
|
||||
dispatch('navigate', { date: currentDate });
|
||||
const ms = new Date(day.getFullYear(), day.getMonth(), day.getDate(), 9).getTime();
|
||||
dispatch('createEvent', { start_at: ms * NS });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue