diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-03-05 23:16:48 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-03-05 23:16:48 -0400 |
commit | a21cba2433f3bea21c7d5d97be7165b55e10b1eb (patch) | |
tree | b3a5bc851d80ed6b12cc8673f04a89a0f12b63fc /src | |
parent | 3ea798f1cdc84f5e22517df93f83f4dbbddc5372 (diff) |
filter unlisted albums from group sources on home
Diffstat (limited to 'src')
-rw-r--r-- | src/page/homepage.js | 1 |
1 files changed, 1 insertions, 0 deletions
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}))), |