mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-06-11 16:45:42 +02:00
fix launchpad storage calculations
This commit is contained in:
@@ -438,7 +438,7 @@ export const PlanetTableRow = ({
|
||||
.map((storage, idx) => {
|
||||
const fillRate = storage.fillRate;
|
||||
const color = fillRate > 90 ? '#ff0000' : fillRate > 80 ? '#ffa500' : fillRate > 60 ? '#ffd700' : 'inherit';
|
||||
const contents = planet.info.pins.find(p => p.type_id === storage.type_id)?.contents || [];
|
||||
const contents = planet.info.pins.find(p => p.pin_id === storage.pin_id)?.contents || [];
|
||||
|
||||
return (
|
||||
<React.Fragment key={`storage-${character.character.characterId}-${planet.planet_id}-${storage.type}-${idx}`}>
|
||||
|
||||
Reference in New Issue
Block a user