mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 22:23:51 +01:00
initial approach removing gangs with <= 0 territory
This commit is contained in:
parent
b46718d188
commit
a64c271175
@ -85,9 +85,11 @@ export function TerritorySubpage(): React.ReactElement {
|
||||
</Typography>
|
||||
</Box>
|
||||
<Box sx={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)" }}>
|
||||
{gangNames.map((name) => (
|
||||
<OtherGangTerritory key={name} name={name} />
|
||||
))}
|
||||
{gangNames
|
||||
.filter((name) => AllGangs[name].territory > 0)
|
||||
.map((name) => (
|
||||
<OtherGangTerritory key={name} name={name} />
|
||||
))}
|
||||
</Box>
|
||||
<TerritoryInfoModal open={infoOpen} onClose={() => setInfoOpen(false)} />
|
||||
</Container>
|
||||
|
Loading…
Reference in New Issue
Block a user