From 8b5aab7d13599ff8aae09ac3792041e3594c3b80 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 4 Feb 2021 08:57:38 -0400 Subject: 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! --- upd8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.3.0-6-gf8a5