This commit is contained in:
2026-01-21 22:44:32 +01:00
parent 107de0b7db
commit a09a07bcfc
7 changed files with 324 additions and 32 deletions

View File

@@ -191,7 +191,7 @@
return [];
}
const promises = sections.map(section =>
fetchData('content', 'list', { section_id: section.id })
fetchData('content', 'list', { section_id: section.id, active_only: 1 })
.then(items => (Array.isArray(items) ? items : []).map(i => ({
...i,
kind: String(section.slug || '').toLowerCase(),