mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: filter video definitions
This commit is contained in:
1 parent
6a1b786dae
commit
b151c7483a
1 file changed
+1
@@ -128,6 +128,7 @@ export async function videos(production: boolean) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const content = Object.entries(videos)
|
const content = Object.entries(videos)
|
||||||
|
.filter(([_, { videos }]) => videos.length > 0)
|
||||||
.map(
|
.map(
|
||||||
([id, { videos, lastUpdated }]) =>
|
([id, { videos, lastUpdated }]) =>
|
||||||
`${id},${lastUpdated},${videos.join(',')}`,
|
`${id},${lastUpdated},${videos.join(',')}`,
|
||||||
|
|||||||
Reference in new issue
Block a user