From 5cacbb003f3cb512263a897ba6da899e9e9b558c Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Tue, 3 Jan 2023 23:06:06 +0100 Subject: [PATCH] tmp --- static/js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/main.js b/static/js/main.js index 3abe7fc..3204b35 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -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") {