mirror of
https://github.com/tcgdex/compiler.git
synced 2025-04-22 02:32:10 +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:
parent
6140e1463b
commit
e47a6f026f
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user