⚡ Make it possible to display notes in flow
This commit is contained in:
@@ -129,6 +129,10 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||
}
|
||||
},
|
||||
nodeSubtitle (): string | undefined {
|
||||
if (this.data.notesInFlow) {
|
||||
return this.data.notes;
|
||||
}
|
||||
|
||||
if (this.nodeType !== null && this.nodeType.subtitle !== undefined) {
|
||||
return this.workflow.getSimpleParameterValue(this.data as INode, this.nodeType.subtitle) as string | undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user