Skip to content

Commit 75fe07e

Browse files
committed
fix: build
1 parent 6755b32 commit 75fe07e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

keep-ui/app/workflows/builder/types.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ export interface WorkflowExecution {
2020
execution_time?: number;
2121
}
2222

23-
export interface WorkflowExecutionFailure {
23+
export interface WorkflowExecutionFailure extends WorkflowExecution {
2424
error: string;
2525
}

keep-ui/app/workflows/builder/workflow-execution-results.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
} from "@tremor/react";
2222
import useSWR from "swr";
2323
import { fetcher } from "../../../utils/fetcher";
24-
import { WorkflowExecution } from "./types";
24+
import { WorkflowExecution, WorkflowExecutionFailure } from "./types";
2525

2626
interface WorkflowResultsProps {
2727
workflow_id: string;
@@ -107,7 +107,7 @@ export function ExecutionResults({
107107
executionData,
108108
checks,
109109
}: {
110-
executionData: WorkflowExecution;
110+
executionData: WorkflowExecution | WorkflowExecutionFailure;
111111
checks?: number;
112112
}) {
113113
const status = executionData?.status;

0 commit comments

Comments
 (0)