From a21cba2433f3bea21c7d5d97be7165b55e10b1eb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 5 Mar 2022 23:16:48 -0400 Subject: filter unlisted albums from group sources on home --- src/page/homepage.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/page') diff --git a/src/page/homepage.js b/src/page/homepage.js index aa99527c..8b470e9b 100644 --- a/src/page/homepage.js +++ b/src/page/homepage.js @@ -50,6 +50,7 @@ export function writeTargetless({wikiData}) { ((row.sourceGroup?.albums ?? []) .slice() .reverse() + .filter(album => album.isListedOnHomepage) .slice(0, row.countAlbumsFromGroup) .map(album => ({item: album}))) ).concat(row.sourceAlbums.map(album => ({item: album}))), -- cgit 1.3.0-6-gf8a5