mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Hide subtitle for custom action
This commit is contained in:
parent
b290ad5970
commit
4997569eb2
|
@ -336,7 +336,11 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setSubtitle() {
|
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 () {
|
disableNode () {
|
||||||
this.disableNodes([this.data]);
|
this.disableNodes([this.data]);
|
||||||
|
|
Loading…
Reference in a new issue