Skip to content

Commit

Permalink
fix: ActiveScripts Page map scripts with same arguments correctly (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
zornlemma authored Aug 25, 2023
1 parent 7b05bed commit aaaa980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/ActiveScripts/ServerAccordionContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aaaa980

Please sign in to comment.