Skip to content

Commit

Permalink
[Bug]: The UI issues many API requests when stopping multiple runs #2194
Browse files Browse the repository at this point in the history
  • Loading branch information
olgenn committed Feb 6, 2025
1 parent 0b2491f commit 085bc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Runs/List/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { groupBy as _groupBy } from 'lodash';

export const getGroupedRunsByProjectAndRepoID = (runs: IRun[]) => {
return _groupBy(runs, ({ project_name, id }) => `${project_name}/${id}`);
return _groupBy(runs, ({ project_name }) => project_name);
};

export const getRunListItemResources = (run: IRun) => {
Expand Down

0 comments on commit 085bc1c

Please sign in to comment.