diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx index e9f6a686..12491c05 100644 --- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx +++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx @@ -38,6 +38,7 @@ import { findActiveItem } from "./workflowRun/workflowTimelineUtils"; import { getAggregatedExtractedInformation } from "./workflowRun/workflowRunUtils"; import { Label } from "@/components/ui/label"; import { CodeEditor } from "./components/CodeEditor"; +import { cn } from "@/util/utils"; function WorkflowRun() { const [searchParams, setSearchParams] = useSearchParams(); @@ -153,6 +154,8 @@ function WorkflowRun() { ? (workflowRun.downloaded_file_urls as string[]) : []; + const showBoth = hasSomeExtractedInformation && hasFileUrls; + const showOutputSection = workflowRunIsFinalized && (hasSomeExtractedInformation || hasFileUrls) && @@ -260,35 +263,43 @@ function WorkflowRun() { {showOutputSection && ( -