Args now stringified next to script names

This commit is contained in:
tyasuh.taeragan@gmail.com 2021-10-29 18:01:51 -04:00
parent f7ca39714e
commit 55a2f0cd9e

@ -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>