mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: sort ical events in monthly view (#2604)
This commit is contained in:
parent
8f121d675c
commit
66a1368aa3
@ -111,6 +111,7 @@ export default function Monthly({ service, colorVariants, events, showDate, setS
|
||||
}
|
||||
|
||||
const eventsArray = Object.keys(events).map((eventKey) => events[eventKey]);
|
||||
eventsArray.sort((a, b) => a.date - b.date);
|
||||
|
||||
return (
|
||||
<div className="w-full text-center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user