MCPcopy
hub / github.com/FlowiseAI/Flowise / onSaveAsTemplate

Function onSaveAsTemplate

packages/ui/src/views/tools/ToolDialog.jsx:117–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 const onSaveAsTemplate = () => {
118 setExportAsTemplateDialogProps({
119 title: 'Export As Template',
120 tool: {
121 name: toolName,
122 description: toolDesc,
123 iconSrc: toolIcon,
124 schema: toolSchema,
125 func: toolFunc
126 }
127 })
128 setExportAsTemplateDialogOpen(true)
129 }
130
131 const onRowUpdate = (newRow) => {
132 setTimeout(() => {

Callers 1

ToolDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected