From 5be34454ce504c0d8b29e2c4dc8a0237ee0ad679 Mon Sep 17 00:00:00 2001 From: Krystian Skwierawski Date: Thu, 21 Mar 2024 21:38:41 +0100 Subject: [PATCH] fix ammo checboxes --- src/components/menu/MenuItem.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/menu/MenuItem.jsx b/src/components/menu/MenuItem.jsx index 39dd1881b..44967f436 100644 --- a/src/components/menu/MenuItem.jsx +++ b/src/components/menu/MenuItem.jsx @@ -8,7 +8,7 @@ function MenuItem(props) { let currentAmmo = ''; let ammoTypes = []; if (routeMatch) { - currentAmmo = routeMatch.params.currentAmmo; + currentAmmo = decodeURIComponent(routeMatch.params.currentAmmo); ammoTypes = currentAmmo.split(','); }