Skip to content

Commit

Permalink
stop catching all workflows
Browse files Browse the repository at this point in the history
The ones loaded are going to depend on whether the user is in a project or not
  • Loading branch information
RicardoE105 committed Nov 14, 2024
1 parent 21b4b0b commit bb6c957
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ export function useWorkflowResourcesLocator(router: Router) {
});

async function populateNextWorkflowsPage() {
if (workflowsStore.allWorkflows.length <= 1) {
await workflowsStore.fetchAllWorkflows();
}
await workflowsStore.fetchAllWorkflows();
const nextPage = sortedWorkflows.value.slice(
workflowsResources.value.length,
workflowsResources.value.length + PAGE_SIZE,
Expand Down

0 comments on commit bb6c957

Please sign in to comment.