Fix display of telumas in WeaponUnit
This commit is contained in:
parent
c43e36e525
commit
3cac1d03cc
1 changed files with 4 additions and 4 deletions
|
|
@ -266,10 +266,10 @@ const WeaponUnit = ({
|
||||||
const altText = weaponKey.name[locale]
|
const altText = weaponKey.name[locale]
|
||||||
let filename = `${weaponKey.slug}`
|
let filename = `${weaponKey.slug}`
|
||||||
|
|
||||||
if (
|
let elementalTelumas = [15008, 16001, 16002]
|
||||||
index === 1 ||
|
let granblueId = parseInt(weaponKey.granblue_id)
|
||||||
(index === 2 && parseInt(weaponKey.granblue_id) === 15008)
|
|
||||||
) {
|
if (elementalTelumas.includes(granblueId)) {
|
||||||
filename += `-${gridWeapon.object.element}`
|
filename += `-${gridWeapon.object.element}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue