Fix timestamps condition

This commit is contained in:
Sam Carlton 2021-05-15 21:30:30 -05:00
parent 8a50ad2111
commit e2172dfe7f

View file

@ -2,7 +2,7 @@ import renderPoster from './poster.js'
function renderTimestamps ( video ) {
if ( video.timestamps.length > 0 ) return ''
if ( video.timestamps.length === 0 ) return ''
const timestampsForRender = video.timestamps.map( timestamp => {
const [ minutes, seconds ] = timestamp.time.split(':')