Fix need-rendering test

This commit is contained in:
2025-01-28 18:26:12 +01:00
parent 1a2ab48c73
commit cf59695e09
2 changed files with 5 additions and 7 deletions

View File

@@ -81,10 +81,11 @@ export const insertEntries = async (
const vids = items.flatMap(
(seed, i) =>
seed.videos?.map((x) => ({
seed.videos?.map((x, j) => ({
videoId: x,
entryPk: retEntries[i].pk,
needRendering: seed.videos!.length > 1,
// The first video should not have a rendering.
needRendering: j && seed.videos!.length > 1,
})) ?? [],
);