diff options
Diffstat (limited to 'src/content/dependencies/linkAlbumCommentary.js')
| -rw-r--r-- | src/content/dependencies/linkAlbumCommentary.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/content/dependencies/linkAlbumCommentary.js b/src/content/dependencies/linkAlbumCommentary.js index f1917345..431dd6ec 100644 --- a/src/content/dependencies/linkAlbumCommentary.js +++ b/src/content/dependencies/linkAlbumCommentary.js @@ -1,6 +1,10 @@ export default { - relations: (relation, album) => - ({link: relation('linkThing', 'localized.albumCommentary', album)}), + relations: (relation, album) => ({ + link: + (album.style === 'in-game vgm' + ? relation('linkThing', 'localized.vgmAlbumCommentary', album) + : relation('linkThing', 'localized.albumCommentary', album)), + }), generate: (relations) => relations.link, }; |