mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
fix: filter video definitions
This commit is contained in:
1 parent
65014cade3
commit
ed9b61c97d
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