fix: subtrophies on userbox not showing up correctly

This commit is contained in:
Raymond 2025-07-20 12:03:21 -04:00
parent a98db63bec
commit bd32677e9e

View File

@ -70,7 +70,7 @@
if (ubKey == 'namePlateId') ubKey = 'nameplateId'
if (ubKey == 'systemVoiceId') ubKey = 'voiceId'
return [{ iKey, ubKey: ubKey as keyof UserBox,
items: profile.items.filter(x => x.itemKind === iKind)
items: profile.items.filter(x => x.itemKind === iKind || (iKey == "trophy" && x.itemKind == 3))
}]
}