Add task block back into node library (#1319)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
DownloadIcon,
|
||||
EnvelopeClosedIcon,
|
||||
FileIcon,
|
||||
ListBulletIcon,
|
||||
LockOpen1Icon,
|
||||
PlusIcon,
|
||||
StopwatchIcon,
|
||||
@@ -48,6 +49,12 @@ const nodeLibraryItems: Array<{
|
||||
title: "Validation Block",
|
||||
description: "Validate the state of the workflow or terminate",
|
||||
},
|
||||
{
|
||||
nodeType: "task",
|
||||
icon: <ListBulletIcon className="size-6" />,
|
||||
title: "Task Block",
|
||||
description: "Takes actions or extracts information",
|
||||
},
|
||||
{
|
||||
nodeType: "textPrompt",
|
||||
icon: <CursorTextIcon className="size-6" />,
|
||||
@@ -60,13 +67,6 @@ const nodeLibraryItems: Array<{
|
||||
title: "Send Email Block",
|
||||
description: "Sends an email",
|
||||
},
|
||||
// legacy
|
||||
// {
|
||||
// nodeType: "task",
|
||||
// icon: <ListBulletIcon className="size-6" />,
|
||||
// title: "Task Block",
|
||||
// description: "Takes actions or extracts information",
|
||||
// },
|
||||
{
|
||||
nodeType: "loop",
|
||||
icon: <UpdateIcon className="size-6" />,
|
||||
|
||||
Reference in New Issue
Block a user