mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +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)
|
||||
.filter(([_, { videos }]) => videos.length > 0)
|
||||
.map(
|
||||
([id, { videos, lastUpdated }]) =>
|
||||
`${id},${lastUpdated},${videos.join(',')}`,
|
||||
|
||||
Reference in new issue
Block a user