From 55feb419985258da8a253bcb0e4085bec9fe0467 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 13 Oct 2023 10:59:44 +0530 Subject: [PATCH] feat: timetable customisations --- lms/www/batches/batch.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lms/www/batches/batch.js b/lms/www/batches/batch.js index 6fb088a8..9614a924 100644 --- a/lms/www/batches/batch.js +++ b/lms/www/batches/batch.js @@ -729,13 +729,7 @@ const add_links_to_events = (calendar) => { event_date = moment(event_date).format("YYYY-MM-DD"); let current_date = moment().format("YYYY-MM-DD"); - console.log(current_date, event_date); - console.log( - allow_future, - moment(event_date).isSameOrBefore(current_date) - ); if (allow_future || moment(event_date).isSameOrBefore(current_date)) { - console.log("in here"); window.open(event.raw.url, "_blank"); } });