Skip to content

Commit

Permalink
[Dashboard] Fix the filtering of the job_id in getTasks. (#45017)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxsh9 authored Jun 17, 2024
1 parent edf8049 commit 85743c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/client/src/service/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { get } from "./requestHandlers";
export const getTasks = (jobId: string | undefined) => {
let url = "api/v0/tasks?detail=1&limit=10000";
if (jobId) {
url += `&job_id=${jobId}`;
url += `&filter_keys=job_id&filter_predicates=%3D&filter_values=${jobId}`;
}
return get<StateApiResponse<Task>>(url);
};
Expand Down

0 comments on commit 85743c6

Please sign in to comment.