Section 1 & 2 - #Migration Run
This commit is contained in:
@@ -81,11 +81,11 @@ export default function Content() {
|
||||
});
|
||||
setTotalReview(reviewRes.count || 0);
|
||||
|
||||
// Get content with status='published'
|
||||
// Get content with status='approved' or 'published' (ready for publishing or on site)
|
||||
const publishedRes = await fetchContent({
|
||||
page_size: 1,
|
||||
...(activeSector?.id && { sector_id: activeSector.id }),
|
||||
status: 'published',
|
||||
status__in: 'approved,published',
|
||||
});
|
||||
setTotalPublished(publishedRes.count || 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user