mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 10:23:44 +01:00
add box showing remaining augments per faction
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user