Skip to content

Commit

Permalink
Front v3: run page filter issues
Browse files Browse the repository at this point in the history
Closes #558
  • Loading branch information
Pauleing committed Nov 6, 2024
1 parent ccb92ac commit 8c7af63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface JobInstanceFilters {
parentId?: string;
queueId?: number;
sessionId?: string;
applicationName?: string;
applicationName?: string[];
statuses: string[];
}

Expand Down Expand Up @@ -59,7 +59,7 @@ export const useJobInstanceAPI = (emptyFilterList: string[][]) => {
filterQuery.jobInstanceId = filterList[0][0];
}
if (filterList[1]?.length > 0) {
filterQuery.applicationName = filterList[1][0];
filterQuery.applicationName = [filterList[1][0]];
}
if (filterList[2]?.length > 0) {
filterQuery.queueId = queues!.find(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ const RunsPage: React.FC = () => {
case "sort":
case "filterChange":
case "changeRowsPerPage":
case 'resetFilters':
fetchJobInstances(
tableState.page,
tableState.rowsPerPage,
Expand Down

0 comments on commit 8c7af63

Please sign in to comment.