From c02098084418d15d944c52599bdef2c9a70ae49d Mon Sep 17 00:00:00 2001 From: Notalifeform Date: Tue, 12 Nov 2024 09:15:24 +0100 Subject: [PATCH] feat: paused jobs: support edit/duplicate/clean (#846) --- packages/ui/src/components/JobCard/JobActions/JobActions.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui/src/components/JobCard/JobActions/JobActions.tsx b/packages/ui/src/components/JobCard/JobActions/JobActions.tsx index 0e7b12a21..e41988c10 100644 --- a/packages/ui/src/components/JobCard/JobActions/JobActions.tsx +++ b/packages/ui/src/components/JobCard/JobActions/JobActions.tsx @@ -52,6 +52,7 @@ const statusToButtonsMap: Record = { ], [STATUSES.completed]: [buttonTypes.duplicate, buttonTypes.retry, buttonTypes.clean], [STATUSES.waiting]: [buttonTypes.duplicate, buttonTypes.updateData, buttonTypes.clean], + [STATUSES.paused]: [buttonTypes.duplicate, buttonTypes.updateData, buttonTypes.clean], } as const; export const JobActions = ({ actions, status, allowRetries }: JobActionsProps) => {