From 7fbc5b87ed05bce433ed959ca18119b72835ee41 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 30 Jan 2024 10:52:20 -0400 Subject: content, upd8, yaml: adapt to combined artistData --- src/write/common-templates.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/write') diff --git a/src/write/common-templates.js b/src/write/common-templates.js index d897a73b..c9824a48 100644 --- a/src/write/common-templates.js +++ b/src/write/common-templates.js @@ -46,10 +46,12 @@ export function generateRandomLinkDataJSON({wikiData}) { artistDirectories: artistData + .filter(artist => !artist.isAlias) .map(artist => artist.directory), artistNumContributions: artistData + .filter(artist => !artist.isAlias) .map(artist => getArtistNumContributions(artist)), }); } -- cgit 1.3.0-6-gf8a5