This commit is contained in:
asyncnomi 2023-01-03 23:06:06 +01:00
parent 3fbff1b78e
commit 5cacbb003f

View file

@ -201,6 +201,7 @@ function get_admin(type) {
data.activityData[activityUid].activityUid = activityUid;
activityData.push(data.activityData[activityUid]);
}
console.log(activityData)
activityData.sort((a, b) => Date(a.start) - Date(b.start));
for (entry in activityData) {
if (activityData[entry].type = "event") {