mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
Merge pull request #3046 from jjayeon/nicer-factions-page
add box showing remaining augments per faction
This commit is contained in:
commit
1c1b696853
@ -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={10} 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