Merge pull request #3046 from jjayeon/nicer-factions-page

add box showing remaining augments per faction
This commit is contained in:
hydroflame 2022-03-08 16:33:02 -05:00 committed by GitHub
commit 1c1b696853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,6 +75,15 @@ export function FactionsRoot(props: IProps): React.ReactElement {
<Button onClick={() => openFaction(Factions[faction])}>Details</Button>
</Box>
</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>
))}
</TableBody>