feat(runtime): Add default label to String Format node (#49)

Update the String Format node default label to show the format, like how the other nodes work.
This commit is contained in:
Eric Tuvesson
2024-07-04 15:54:20 +02:00
committed by Richard Osborne
parent e039d30320
commit 297022e19b

View File

@@ -2,6 +2,8 @@ const StringFormatDefinition = {
name: 'String Format', name: 'String Format',
docs: 'https://docs.noodl.net/nodes/string-manipulation/string-format', docs: 'https://docs.noodl.net/nodes/string-manipulation/string-format',
category: 'String Manipulation', category: 'String Manipulation',
usePortAsLabel: 'format',
portLabelTruncationMode: 'length',
initialize() { initialize() {
const internal = this._internal; const internal = this._internal;
internal.format = ''; internal.format = '';