mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-12 13:49:22 -05:00
fix white list bug on fa page
This commit is contained in:
parent
13fd729b41
commit
2e941ff4e3
|
|
@ -92,8 +92,10 @@ const FreeAgentsPage: React.FC<RouteComponentProps> = () => {
|
|||
|
||||
if (
|
||||
weapon &&
|
||||
(usersWeapons.includes(weapon) ||
|
||||
usersWeapons.includes(altWeaponMap.get(weapon) as any))
|
||||
!(
|
||||
usersWeapons.includes(weapon) ||
|
||||
usersWeapons.includes(altWeaponMap.get(weapon) as any)
|
||||
)
|
||||
) {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user