From 0b2a3ee0cc7ddacd14ce8a9374bef35a7a8e4a77 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 7 Oct 2019 19:26:01 +0000 Subject: [PATCH] Fixing handling of null times. --- thrimbletrimmer/dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thrimbletrimmer/dashboard.html b/thrimbletrimmer/dashboard.html index 7a25386..42cb42b 100644 --- a/thrimbletrimmer/dashboard.html +++ b/thrimbletrimmer/dashboard.html @@ -232,8 +232,8 @@ ${event.state} Edit ${event.video_link ? "Link":""} - ${event.edit_time.substring(0,19)} - ${event.upload_time.substring(0,19)} + ${event.edit_time ? event.edit_time.substring(0,19):""} + ${event.upload_time ? event.upload_time.substring(0,19):""} `; document.getElementById('QueueTable').appendChild(row); });