diff --git a/admin/app/clusters/[clusterId]/tasks/page.tsx b/admin/app/clusters/[clusterId]/tasks/page.tsx index 50b905b8..b7e634c1 100644 --- a/admin/app/clusters/[clusterId]/tasks/page.tsx +++ b/admin/app/clusters/[clusterId]/tasks/page.tsx @@ -123,7 +123,12 @@ export default function Page({ params }: { params: { clusterId: string } }) { jobs: data.jobs, }); } else { - toast.error("Failed to issue cluster task"); + setData({ + loading: false, + taskId: null, + result: "Failed to execute task", + jobs: data.jobs, + }); } }} >