Skip to content

Commit 19e705a

Browse files
committed
sending rect-node inputted text from node
1 parent f0255ea commit 19e705a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/vps-web/src/app/custom-nodes/classes/rect-node-class.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ export class RectNode extends BaseRectNode {
2929
_payload?: any
3030
): Promise<IComputeResult> => {
3131
return new Promise<IComputeResult>((resolve) => {
32+
const data = (this.node?.nodeInfo as any)?.text ?? input;
3233
resolve({
33-
result: input,
34-
output: input,
34+
result: data,
35+
output: data,
3536
followPath: undefined,
3637
});
3738
});

0 commit comments

Comments
 (0)