Fix entries test with videos

This commit is contained in:
2025-03-06 12:22:45 +01:00
parent 66fadb2b20
commit e86ab9c081
12 changed files with 53 additions and 23 deletions

View File

@@ -131,7 +131,7 @@ export const insertEntries = async (
entryPk: retEntries[i].pk,
entrySlug: retEntries[i].slug,
// The first video should not have a rendering.
needRendering: j && seed.videos!.length > 1,
needRendering: j !== 0 && seed.videos!.length > 1,
}));
});