diff options
-rw-r--r-- | src/content/dependencies/generateListRandomPageLinksGroupSection.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateListRandomPageLinksGroupSection.js b/src/content/dependencies/generateListRandomPageLinksGroupSection.js index 006ebdf9..e2b57fef 100644 --- a/src/content/dependencies/generateListRandomPageLinksGroupSection.js +++ b/src/content/dependencies/generateListRandomPageLinksGroupSection.js @@ -10,7 +10,8 @@ export default { query: (sprawl, group) => ({ albums: sortChronologically(sprawl.albumData.slice()) - .filter(album => album.groups.includes(group)), + .filter(album => album.groups.includes(group)) + .filter(album => album.tracks.length > 1), }), relations: (relation, query, sprawl, group) => ({ |