From 8c29cf2645f2e046ff86cfe4655d5fb71d245a17 Mon Sep 17 00:00:00 2001 From: Jacek Tomaszewski Date: Wed, 20 Nov 2024 14:26:26 +0100 Subject: [PATCH] fix(JobActions): show actions for "waiting children" jobs just as for "waiting" ones --- 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 e41988c1..d92d0f29 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.waitingChildren]: [buttonTypes.duplicate, buttonTypes.updateData, buttonTypes.clean], [STATUSES.paused]: [buttonTypes.duplicate, buttonTypes.updateData, buttonTypes.clean], } as const;