diff options
| -rw-r--r-- | src/content/dependencies/generateListAllAdditionalFilesChunk.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListAllAdditionalFilesChunk.js b/src/content/dependencies/generateListAllAdditionalFilesChunk.js index dff652f6..ddbaa69d 100644 --- a/src/content/dependencies/generateListAllAdditionalFilesChunk.js +++ b/src/content/dependencies/generateListAllAdditionalFilesChunk.js @@ -67,9 +67,9 @@ export default { : language.$(capsule, 'placeholderTitle')); workingOptions.title = - (links.length <= 1 - ? links[0].slot('content', titlePart) - : html.tag('b', titlePart)); + (links.length === 0 ? titlePart + : links.length === 1 ? links[0].slot('content', titlePart) + : html.tag('b', titlePart)); artistCredit.setSlots({ normalStringKey: capsule + '.credit', |