Fixing handling of null times.

pull/97/head
Ubuntu 5 years ago committed by Christopher Usher
parent 04f7928715
commit 875e4271a6

@ -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