UI: Only show relevant changes in "Purchased Augmentations" table (#1476)

This commit is contained in:
catloversg 2024-07-09 01:07:19 +07:00 committed by GitHub
parent 06553d9700
commit 8d39c7d9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -71,8 +71,12 @@ function MultiplierList(props: IMultiplierListProps): React.ReactElement {
secondary={
<span style={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
<BitNodeModifiedStats base={current} mult={bnMult} color={color} />
<DoubleArrow fontSize="small" color="success" sx={{ mb: 0.5, mx: 1 }} />
<BitNodeModifiedStats base={augmented} mult={bnMult} color={Settings.theme.success} />
{current !== augmented && (
<>
<DoubleArrow fontSize="small" color="success" sx={{ mb: 0.5, mx: 1 }} />
<BitNodeModifiedStats base={augmented} mult={bnMult} color={Settings.theme.success} />
</>
)}
</span>
}
disableTypography