mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Remove territory warfare toggle from main gang management page (#849)
This commit is contained in:
parent
1007ce5e68
commit
686d2e2b9b
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { GangStats } from "./GangStats";
|
import { GangStats } from "./GangStats";
|
||||||
import { GangMemberList } from "./GangMemberList";
|
import { GangMemberList } from "./GangMemberList";
|
||||||
import { useGang } from "./Context";
|
import { useGang } from "./Context";
|
||||||
import { Typography, FormControlLabel, Switch, Tooltip } from "@mui/material";
|
import { Typography } from "@mui/material";
|
||||||
|
|
||||||
/** React Component for the subpage that manages gang members, the main page. */
|
/** React Component for the subpage that manages gang members, the main page. */
|
||||||
export function ManagementSubpage(): React.ReactElement {
|
export function ManagementSubpage(): React.ReactElement {
|
||||||
@ -30,26 +30,7 @@ export function ManagementSubpage(): React.ReactElement {
|
|||||||
<br />
|
<br />
|
||||||
<GangStats />
|
<GangStats />
|
||||||
<br />
|
<br />
|
||||||
<FormControlLabel
|
|
||||||
control={
|
|
||||||
<Switch
|
|
||||||
checked={gang.territoryWarfareEngaged}
|
|
||||||
onChange={(event) => (gang.territoryWarfareEngaged = event.target.checked)}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
label={
|
|
||||||
<Tooltip
|
|
||||||
title={
|
|
||||||
<Typography>
|
|
||||||
Engaging in Territory Clashes sets your clash chance to 100%. Disengaging will cause your clash chance
|
|
||||||
to gradually decrease until it reaches 0%. See the "Territory" subpage for more information.
|
|
||||||
</Typography>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<Typography>Engage in Territory Clashes</Typography>
|
|
||||||
</Tooltip>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<GangMemberList />
|
<GangMemberList />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user