From 1ec1a2b3a32c4e96ca707609c5415d59de0366fb Mon Sep 17 00:00:00 2001 From: Camiel van Schoonhoven Date: Fri, 12 Dec 2025 17:07:36 -0800 Subject: [PATCH] Break TaskActions into two sections --- src/components/shared/TaskDetails/Actions.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/shared/TaskDetails/Actions.tsx b/src/components/shared/TaskDetails/Actions.tsx index 481c665cd..b273d4e57 100644 --- a/src/components/shared/TaskDetails/Actions.tsx +++ b/src/components/shared/TaskDetails/Actions.tsx @@ -1,6 +1,7 @@ import { useState } from "react"; import { FaPython } from "react-icons/fa"; +import { BlockStack } from "@/components/ui/layout"; import useToastNotification from "@/hooks/useToastNotification"; import type { ComponentSpec } from "@/utils/componentSpec"; import { @@ -110,11 +111,14 @@ const TaskActions = ({ }, ]; - const allActions: Action[] = [...customActions, ...sharedActions]; - return ( <> - + + + {customActions.length > 0 && ( + + )} + {isEditDialogOpen && (