mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 13:15:48 +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()}
|
||||
</Typography>
|
||||
|
||||
{!workerScripts.has(script.pid) && (
|
||||
{!workerScripts.has(script.pid) ? (
|
||||
<Button className={classes.titleButton} onClick={run} onTouchEnd={run}>
|
||||
Run
|
||||
</Button>
|
||||
)}
|
||||
{workerScripts.has(script.pid) && (
|
||||
) : (
|
||||
<Button className={classes.titleButton} onClick={kill} onTouchEnd={kill}>
|
||||
Kill
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user