Skip to content

Commit

Permalink
feat: paused jobs: support edit/duplicate/clean (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
Notalifeform authored Nov 12, 2024
1 parent 38c79ee commit c020980
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const statusToButtonsMap: Record<string, ButtonType[]> = {
],
[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) => {
Expand Down

0 comments on commit c020980

Please sign in to comment.