mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-20 01:55:26 -05:00
fix white list bug on fa page
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user