« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateListRandomPageLinksGroupSection.js3
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) => ({