diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-30 15:53:08 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-04-30 15:53:33 -0300 |
commit | df12ad88b3fdaf78b3fb327c20be0601f2e694f9 (patch) | |
tree | f907de9f6f90aed6055fa064839776594090b0d3 | |
parent | 0d0d38ce51ca02b7c3bd91317b5fa0bbff1f06de (diff) |
treat sibling-direction AKA as other releases
-rwxr-xr-x | upd8.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js index 66582f17..6b153b05 100755 --- a/upd8.js +++ b/upd8.js @@ -6185,8 +6185,8 @@ async function main() { trackData.forEach(track => track.otherReleases = [ track.aka, - ...trackData.filter(({ aka }) => aka === track) - ].filter(Boolean)); + ...trackData.filter(({ aka }) => aka === track || (track.aka && aka === track.aka)), + ].filter(x => x && x !== track)); if (wikiInfo.features.flashesAndGames) { flashData.forEach(flash => mapInPlace(flash.tracks, search.track)); |