mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-09 23:07:40 +01:00
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
This commit is contained in:
commit
d031a68fd2
@ -70,8 +70,9 @@ export function GoPublicModal(props: IProps): React.ReactElement {
|
|||||||
type="number"
|
type="number"
|
||||||
placeholder="Shares to issue"
|
placeholder="Shares to issue"
|
||||||
onKeyDown={onKeyDown}
|
onKeyDown={onKeyDown}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<Button sx={{ mx: 1 }} onClick={goPublic}>
|
<Button disabled={shares < 0||shares>corp.numShares} sx={{ mx: 1 }} onClick={goPublic}>
|
||||||
Go Public
|
Go Public
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -67,7 +67,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ListItemButton onClick={() => setOpen((old) => !old)} component={Paper}>
|
<ListItemButton onClick={() => setOpen((old) => !old)} component={Paper}>
|
||||||
<ListItemText primary={<Typography>└ {props.workerScript.name}</Typography>} />
|
<ListItemText primary={<Typography>└ {props.workerScript.name} {JSON.stringify(props.workerScript.args)}</Typography>} />
|
||||||
{open ? <ExpandLess color="primary" /> : <ExpandMore color="primary" />}
|
{open ? <ExpandLess color="primary" /> : <ExpandMore color="primary" />}
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
<Collapse in={open} timeout={0} unmountOnExit>
|
<Collapse in={open} timeout={0} unmountOnExit>
|
||||||
|
Loading…
Reference in New Issue
Block a user