diff options
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r-- | src/data/yaml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js index ae8e2dd6..65e7bcae 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -447,7 +447,7 @@ export function parseAdditionalFiles(entries) { export function parseAdditionalNames(entries) { return parseArrayEntries(entries, item => { - if (typeof item === 'object' && item['Name']) + if (typeof item === 'object' && typeof item['Name'] === 'string') return {name: item['Name'], annotation: item['Annotation'] ?? null}; if (typeof item !== 'string') return item; |