mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-28 15:09:50 +00:00
Fixed additionnal sets being added while they have no serie
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -10,7 +10,7 @@ interface t {
|
||||
const setCache: t = {}
|
||||
|
||||
export function isSetAvailable(set: Set, lang: SupportedLanguages): boolean {
|
||||
return lang in set.name
|
||||
return lang in set.name && lang in set.serie.name
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user