From 3414b64659662ff5be949dc39d6a8796bd059a81 Mon Sep 17 00:00:00 2001 From: Andy Brenneke Date: Mon, 16 Oct 2023 08:20:36 -0700 Subject: [PATCH] Pop node label becomes "first" when popping from front --- packages/core/src/model/nodes/PopNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/model/nodes/PopNode.ts b/packages/core/src/model/nodes/PopNode.ts index 96050d3c0..6f3d13bbc 100644 --- a/packages/core/src/model/nodes/PopNode.ts +++ b/packages/core/src/model/nodes/PopNode.ts @@ -51,7 +51,7 @@ export class PopNodeImpl extends NodeImpl { { dataType: 'any', id: 'lastItem' as PortId, - title: 'Last', + title: this.data.fromFront ? 'First' : 'Last', }, { dataType: 'any',