fix(webui): ignore empty archon shard slots
This commit is contained in:
parent
6f3f1fe5b9
commit
3eb5c366df
@ -542,7 +542,7 @@ function updateInventory() {
|
||||
|
||||
const uniqueUpgrades = {};
|
||||
(item.ArchonCrystalUpgrades ?? []).forEach(upgrade => {
|
||||
if (upgrade) {
|
||||
if (upgrade && upgrade.UpgradeType) {
|
||||
uniqueUpgrades[upgrade.UpgradeType] ??= 0;
|
||||
uniqueUpgrades[upgrade.UpgradeType] += 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user