add box showing remaining augments per faction

This commit is contained in:
jjayeon 2022-02-28 07:04:47 -05:00
parent ee887de151
commit e74d6107c9

@ -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={2} mb={1}>
Augmentations Left: {Factions[faction]
.augmentations
.filter((augmentation: string) =>
!props.player.hasAugmentation(augmentation))
.length}
</Typography>
</TableCell>
</TableRow>
))}
</TableBody>