Skip to content

Commit

Permalink
fix(383): tasks and workflow number capped to 25 in dashboard page (#384
Browse files Browse the repository at this point in the history
)

Signed-off-by: Nastya Rusina <[email protected]>
  • Loading branch information
anrusina authored Apr 13, 2022
1 parent c13289d commit a8c0ab8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Project/ProjectDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useInfiniteQuery, useQuery, useQueryClient } from 'react-query';
import { Admin } from 'flyteidl';
import { DomainSettingsSection } from 'components/common/DomainSettingsSection';
import { getCacheKey } from 'components/Cache/utils';
import { limits } from 'models/AdminEntity/constants';
import { ErrorBoundary } from 'components/common/ErrorBoundary';
import { LargeLoadingSpinner } from 'components/common/LoadingSpinner';
import { DataError } from 'components/Errors/DataError';
Expand Down Expand Up @@ -127,9 +128,9 @@ export const ProjectDashboard: React.FC<ProjectDashboardProps> = ({

const fetch = React.useCallback(() => executionsQuery.fetchNextPage(), [executionsQuery]);

const { value: workflows } = useWorkflowNameList({ domain, project }, {});
const { value: workflows } = useWorkflowNameList({ domain, project }, { limit: limits.NONE });
const numberOfWorkflows = workflows.length;
const { value: tasks } = useTaskNameList({ domain, project }, {});
const { value: tasks } = useTaskNameList({ domain, project }, { limit: limits.NONE });
const numberOfTasks = tasks.length;

const queryClient = useQueryClient();
Expand Down

0 comments on commit a8c0ab8

Please sign in to comment.