From d0dc9f6dbe1ee607125a4d495868cc140c3b9e7c Mon Sep 17 00:00:00 2001 From: Leonhard Brunner Date: Mon, 16 Aug 2021 22:03:52 +0200 Subject: [PATCH] ATLDEV-326 update check to lecture instead of target hours --- src/main/resources/js/timesheet/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/js/timesheet/table.js b/src/main/resources/js/timesheet/table.js index 84636d9..a9bcd07 100644 --- a/src/main/resources/js/timesheet/table.js +++ b/src/main/resources/js/timesheet/table.js @@ -74,7 +74,7 @@ function populateTable(timesheetDataReply) { AJS.$("#inactive-header").hide(); } - if(isInit && timesheetData_.targetHours == 0){ + if(isInit && timesheetData_.lectures === ""){ console.log("We created a new Dialog showing Init Dialog"); showInitTimesheetReasonDialog(true); }