mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
Update LogBoxManager.tsx
This commit is contained in:
parent
4e64d6df5b
commit
bb5cc82226
@ -267,12 +267,11 @@ function LogWindow(props: IProps): React.ReactElement {
|
|||||||
{title()}
|
{title()}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
{!workerScripts.has(script.pid) && (
|
{!workerScripts.has(script.pid) ? (
|
||||||
<Button className={classes.titleButton} onClick={run} onTouchEnd={run}>
|
<Button className={classes.titleButton} onClick={run} onTouchEnd={run}>
|
||||||
Run
|
Run
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
) : (
|
||||||
{workerScripts.has(script.pid) && (
|
|
||||||
<Button className={classes.titleButton} onClick={kill} onTouchEnd={kill}>
|
<Button className={classes.titleButton} onClick={kill} onTouchEnd={kill}>
|
||||||
Kill
|
Kill
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user