File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/dashboard/src/components Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010} from "@/components/ui/alert-dialog" ;
1111import { Button } from "@/components/ui/button" ;
1212import { cancelWorkflowRunServerFn } from "@/lib/api" ;
13- import { CANCELABLE_RUN_STATUSES , isRunCancelableStatus } from "@/lib/status" ;
13+ import { isRunCancelableStatus } from "@/lib/status" ;
1414import type { WorkflowRunStatus } from "openworkflow/internal" ;
1515import { useState } from "react" ;
1616
@@ -36,7 +36,6 @@ export function RunCancelAction({
3636 const [ isOpen , setIsOpen ] = useState ( false ) ;
3737 const [ isCanceling , setIsCanceling ] = useState ( false ) ;
3838 const [ error , setError ] = useState < string | null > ( null ) ;
39- const cancelableStatuses = [ ...CANCELABLE_RUN_STATUSES ] . join ( ", " ) ;
4039
4140 if ( ! isRunCancelableStatus ( status ) ) {
4241 return null ;
You can’t perform that action at this time.
0 commit comments