diff options
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/artist-alias.js | 2 | ||||
-rw-r--r-- | src/page/artist.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/page/artist-alias.js b/src/page/artist-alias.js index d2305229..c1177798 100644 --- a/src/page/artist-alias.js +++ b/src/page/artist-alias.js @@ -1,7 +1,7 @@ export const description = `redirects for aliased artist names`; export function targets({wikiData}) { - return wikiData.artistAliasData; + return wikiData.artistData.filter(artist => artist.isAlias); } export function pathsForTarget(aliasArtist) { diff --git a/src/page/artist.js b/src/page/artist.js index b9a2f739..c1543fab 100644 --- a/src/page/artist.js +++ b/src/page/artist.js @@ -6,7 +6,7 @@ export const description = `per-artist info & artwork gallery pages`; // NB: See artist-alias.js for artist alias redirect pages. export function targets({wikiData}) { - return wikiData.artistData; + return wikiData.artistData.filter(artist => !artist.isAlias); } export function pathsForTarget(artist) { |