From 467c3c16af62997b949f52b9e7b2082c92012d8b Mon Sep 17 00:00:00 2001 From: farhantock Date: Mon, 20 May 2024 13:29:07 +0700 Subject: [PATCH] fix(remove): remove console log --- edit-mode/function/ganttSettings.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/edit-mode/function/ganttSettings.js b/edit-mode/function/ganttSettings.js index 5104100..84517c8 100644 --- a/edit-mode/function/ganttSettings.js +++ b/edit-mode/function/ganttSettings.js @@ -221,14 +221,14 @@ async function initGanttSettings() { gantt.setWorkTime({ day: dayoff[i], hours: false }); } } - for (let index = 1; index <= 7; index++) { - const dateToCheck = new Date(2023, 4, index); // Note: Month is 0-based, so 5 represents June - if (gantt.isWorkTime({ date: dateToCheck, hours: false })) { - console.log(dateToCheck.toString() + ' is work time.'); - } else { - console.log(dateToCheck.toString() + ' is not work time.'); - } - } + // for (let index = 1; index <= 7; index++) { + // const dateToCheck = new Date(2023, 4, index); // Note: Month is 0-based, so 5 represents June + // if (gantt.isWorkTime({ date: dateToCheck, hours: false })) { + // console.log(dateToCheck.toString() + ' is work time.'); + // } else { + // console.log(dateToCheck.toString() + ' is not work time.'); + // } + // } } }