Merge pull request #1636 from Saynt-Garmo/dev

Args now stringified next to script names
This commit is contained in:
hydroflame 2021-10-29 19:25:42 -04:00 committed by GitHub
commit c2ed41fae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
return (
<>
<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" />}
</ListItemButton>
<Collapse in={open} timeout={0} unmountOnExit>