diff --git a/apps/ops/templates/ops/celery_task_log.html b/apps/ops/templates/ops/celery_task_log.html index 3dfc23886..a2a025391 100644 --- a/apps/ops/templates/ops/celery_task_log.html +++ b/apps/ops/templates/ops/celery_task_log.html @@ -135,7 +135,7 @@ method: "GET", flash_message: false, success(data) { - const dateStart = new Date(data.date_start).toLocaleString(); + const dateStart = data.date_start ? new Date(data.date_start).toLocaleString() : ''; $('.task-id').html(data.id); $('.task-type').html(data.task_name); $('.date-start').html(dateStart);