Add granblue_id to weapon keys

This commit is contained in:
Justin Edmund 2023-03-16 09:18:11 -07:00
parent 51db55c100
commit 85a8ba744a
2 changed files with 6 additions and 1 deletions

View file

@ -79,7 +79,11 @@ const WeaponKeySelect = React.forwardRef<HTMLButtonElement, Props>(
keys[index].length > 0 &&
keys[index].sort(sortByOrder).map((item, i) => {
return (
<SelectItem key={i} value={item.id}>
<SelectItem
key={i}
value={item.id}
data-granblue-id={item.granblue_id}
>
{item.name.en}
</SelectItem>
)

View file

@ -1,5 +1,6 @@
interface WeaponKey {
id: string
granblue_id: string
name: {
[key: string]: string
en: string