Fixing handling of null times.

pull/94/head
Ubuntu 5 years ago
parent 232ef0a11d
commit 0b2a3ee0cc

@ -232,8 +232,8 @@
<td>${event.state}</td>
<td><a href="/thrimbletrimmer?id=${event.id}">Edit</a></td>
<td>${event.video_link ? "<a href='"+event.video_link+"'>Link</a>":""}</td>
<td>${event.edit_time.substring(0,19)}</td>
<td>${event.upload_time.substring(0,19)}</td>
<td>${event.edit_time ? event.edit_time.substring(0,19):""}</td>
<td>${event.upload_time ? event.upload_time.substring(0,19):""}</td>
`;
document.getElementById('QueueTable').appendChild(row);
});

Loading…
Cancel
Save