Fix Nico not showing up all the time.

master
Joshua Sigona 3 years ago
parent c47a25371d
commit 13965616d1
  1. 2
      src/DEFAULTS.js
  2. 2
      src/TestPanel.js

@ -2,7 +2,7 @@ const NICONICONII = process.env.PUBLIC_URL+"/icons/nicodotpng.png.png"
function DisplayIcon(icon) {
//console.log(icon)
return icon?process.env.PUBLIC_URL+icon:NICONICONII
return icon&&icon.length>0?process.env.PUBLIC_URL+icon:NICONICONII
}
export {NICONICONII,DisplayIcon};

@ -595,7 +595,7 @@ AUGMENT
</ExpandTooltip></li>}}
/>
<SelectorWindow title="Armor Selection" modalOpen={armorSelectWindowOpen} setModalOpen={setArmorSelectWindowOpen} GetData={p.GetData}
<SelectorWindow title={"Armor Selection - Slot "+armorSlotSelection} modalOpen={armorSelectWindowOpen} setModalOpen={setArmorSelectWindowOpen} GetData={p.GetData}
pageNames={[]}
sortItems={["Standard Sort","Rarity","HP","PP","Melee Potency","Range Potency","Tech Potency"]}
filter={true}

Loading…
Cancel
Save