mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-12 15:59:18 +00:00
feat: Add abbreviations to the database (#534)
This commit is contained in:
@ -102,6 +102,10 @@ export async function setToSetSingle(set: Set, lang: SupportedLanguages): Promis
|
||||
name: set.serie.name[lang] as string
|
||||
},
|
||||
symbol: pics[1],
|
||||
tcgOnline: set.tcgOnline
|
||||
tcgOnline: set.tcgOnline,
|
||||
abbreviation: (set.abbreviations?.official || set.abbreviations?.[lang]) ? {
|
||||
official: set.abbreviations?.official,
|
||||
localized: set.abbreviations?.[lang]
|
||||
} : undefined
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user