diff --git a/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx b/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx index ff21926..e7fa6ed 100644 --- a/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx +++ b/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx @@ -88,7 +88,7 @@ export function WorkflowExecutions({ workflowId, searchParams }: WorkflowExecuti }; loadDispositionCodes(); - }, [workflowId, accessToken]); + }, [workflowId, accessToken, configuredAttributes]); const fetchWorkflowRuns = useCallback(async (page: number, filters?: ActiveFilter[]) => { if (!accessToken) return; diff --git a/ui/src/app/workflow/[workflowId]/page.tsx b/ui/src/app/workflow/[workflowId]/page.tsx index 3f24ca3..f436da5 100644 --- a/ui/src/app/workflow/[workflowId]/page.tsx +++ b/ui/src/app/workflow/[workflowId]/page.tsx @@ -65,7 +65,7 @@ export default function WorkflowDetailPage() { const stickyTabs = workflow ? : null; // Memoize user and getAccessToken to prevent unnecessary re-renders - const stableUser = useMemo(() => user, [user?.id]); + const stableUser = useMemo(() => user, [user]); const stableGetAccessToken = useMemo(() => getAccessToken, [getAccessToken]); if (loading) {