Skip to content

Commit b893a4a

Browse files
committed
perf(results-page): use include exclude_purpose parameter to speed up request to tasks
Resolves #1251
1 parent 81709a1 commit b893a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/ResultsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const ResultsView = () => {
2929
isLoading: isTasksLoading,
3030
isError: isTasksError,
3131
error: tasksError,
32-
} = useGetTasks({ project_id: projectId });
32+
} = useGetTasks({ project_id: projectId, exclude_purpose: "INSTANCE.PROJECT" });
3333
const tasks = tasksData?.tasks;
3434

3535
const [resultTypes, setResultTypes] = useState(["task", "instance"]);

0 commit comments

Comments
 (0)