mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
add box showing remaining augments per faction
This commit is contained in:
parent
ee887de151
commit
e74d6107c9
@ -75,6 +75,15 @@ export function FactionsRoot(props: IProps): React.ReactElement {
|
|||||||
<Button onClick={() => openFaction(Factions[faction])}>Details</Button>
|
<Button onClick={() => openFaction(Factions[faction])}>Details</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
<TableCell align="right">
|
||||||
|
<Typography noWrap ml={2} mb={1}>
|
||||||
|
Augmentations Left: {Factions[faction]
|
||||||
|
.augmentations
|
||||||
|
.filter((augmentation: string) =>
|
||||||
|
!props.player.hasAugmentation(augmentation))
|
||||||
|
.length}
|
||||||
|
</Typography>
|
||||||
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
))}
|
||||||
</TableBody>
|
</TableBody>
|
||||||
|
Loading…
Reference in New Issue
Block a user