ignore non public items

This commit is contained in:
j 2021-11-24 14:09:01 +01:00
parent 9eba3cb8bd
commit aa15dfc787

View file

@ -292,6 +292,9 @@ async function loadClips(annotations) {
annotations.forEach(annotation => { annotations.forEach(annotation => {
var clipId = annotation.id.split('/')[0] + '/' + annotation.in.toFixed(3) + '-'+ annotation.out.toFixed(3) var clipId = annotation.id.split('/')[0] + '/' + annotation.in.toFixed(3) + '-'+ annotation.out.toFixed(3)
if (!colors[clipId]) {
return
}
clips[clipId] = clips[clipId] || { clips[clipId] = clips[clipId] || {
id: clipId, id: clipId,
color1: colors[clipId], color1: colors[clipId],