Using the new category to filter skins shown in the right panel

This commit is contained in:
2026-10-01 00:08:35 +02:00
parent b22ee15a24
commit fe3f33e142

View File

@@ -29,7 +29,7 @@ export function Inventory({ side }: { side: "T" | "CT" }) {
setGloves(new WeaponInfo(data[0])); setGloves(new WeaponInfo(data[0]));
[success, data] = await get(`skin?team=${side}`); [success, data] = await get(`skin?team=${side}&category=Weapons`);
setWeapons(data.map((item: any) => (new WeaponInfo(item)))); setWeapons(data.map((item: any) => (new WeaponInfo(item))));