fix: ActiveScripts Page map scripts with same arguments correctly (#748)

This commit is contained in:
zornlemma 2023-08-26 04:03:08 +09:00 committed by GitHub
parent 7b05bed0d4
commit aaaa980d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ export function ServerAccordionContent(props: IProps): React.ReactElement {
<>
<List dense disablePadding>
{props.workerScripts.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((ws) => (
<WorkerScriptAccordion key={`${ws.name}_${ws.args}`} workerScript={ws} />
<WorkerScriptAccordion key={`${ws.pid}`} workerScript={ws} />
))}
</List>
<TablePagination