File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/components/shared/TaskDetails Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
22import { FaPython } from "react-icons/fa" ;
33
4+ import { BlockStack } from "@/components/ui/layout" ;
45import useToastNotification from "@/hooks/useToastNotification" ;
56import type { ComponentSpec } from "@/utils/componentSpec" ;
67import {
@@ -110,11 +111,14 @@ const TaskActions = ({
110111 } ,
111112 ] ;
112113
113- const allActions : Action [ ] = [ ...customActions , ...sharedActions ] ;
114-
115114 return (
116115 < >
117- < ActionBlock actions = { allActions } className = { className } />
116+ < BlockStack gap = "4" className = { className } >
117+ < ActionBlock title = "Component Actions" actions = { sharedActions } />
118+ { customActions . length > 0 && (
119+ < ActionBlock title = "Node Actions" actions = { customActions } />
120+ ) }
121+ </ BlockStack >
118122
119123 { isEditDialogOpen && (
120124 < ComponentEditorDialog
You can’t perform that action at this time.
0 commit comments