« get me outta code hell

dont automatically make official releases MajorTM - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-02-04 08:57:38 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-04 08:57:38 -0400
commit8b5aab7d13599ff8aae09ac3792041e3594c3b80 (patch)
treef83ce27475af4ad7e573391ed96b1d586038bf0b
parentde8b3e3343c8a27920f75af9faace3c830e1cacc (diff)
dont automatically make official releases MajorTM
this probably wont ever actually come into use on the wiki, but its nice
to avoid dependency on "official/unofficial" terminology throughout,
since its very hsmusic-specific!
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index 8395859..3bd5997 100755
--- a/upd8.js
+++ b/upd8.js
@@ -1724,7 +1724,7 @@ function getFlashGridHTML(props) {
 
 function getNewReleases(numReleases) {
     const latestFirst = albumData.slice().reverse();
-    const majorReleases = latestFirst.filter(album => album.groups.some(g => g.directory === C.OFFICIAL_GROUP_DIRECTORY) || album.isMajorRelease);
+    const majorReleases = latestFirst.filter(album => album.isMajorRelease);
     majorReleases.splice(1);
 
     const otherReleases = latestFirst