Hide subtitle for custom action

This commit is contained in:
Iván Ovejero 2022-05-03 16:33:48 +02:00
parent b290ad5970
commit 4997569eb2

View file

@ -336,7 +336,11 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
},
methods: {
setSubtitle() {
this.nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getWorkflow()) || '';
const nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getWorkflow()) || '';
this.nodeSubtitle = nodeSubtitle.includes('customAction')
? ''
: nodeSubtitle;
},
disableNode () {
this.disableNodes([this.data]);