diff --git a/templates/timeLogs.html b/templates/timeLogs.html index ae6e305..8ef4e0b 100644 --- a/templates/timeLogs.html +++ b/templates/timeLogs.html @@ -112,7 +112,7 @@ {{end}} var seasonIds = []; - TimeLogsTable.on('draw', () => { + TimeLogsTable.on('init', () => { for (let i = 0; i < TimeLogsTable.rows().data().length; i++) { let data = TimeLogsTable.rows().data()[i]; if ($.inArray(data["SeasonId"], seasonIds) === -1) {