mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Fix node_type property in all events (#3759)
This commit is contained in:
@@ -184,7 +184,7 @@ export default mixins(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.hasPinData || shouldUnpinAndExecute) {
|
if (!this.hasPinData || shouldUnpinAndExecute) {
|
||||||
this.$telemetry.track('User clicked execute node button', { node_type: this.nodeName, workflow_id: this.$store.getters.workflowId, source: this.telemetrySource });
|
this.$telemetry.track('User clicked execute node button', { node_type: this.nodeType ? this.nodeType.name : null, workflow_id: this.$store.getters.workflowId, source: this.telemetrySource });
|
||||||
this.runWorkflow(this.nodeName, 'RunData.ExecuteNodeButton');
|
this.runWorkflow(this.nodeName, 'RunData.ExecuteNodeButton');
|
||||||
this.$emit('execute');
|
this.$emit('execute');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -409,7 +409,8 @@ export default mixins(
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onRunNode(nodeName: string, source: string) {
|
onRunNode(nodeName: string, source: string) {
|
||||||
this.$telemetry.track('User clicked execute node button', { node_type: nodeName, workflow_id: this.$store.getters.workflowId, source: 'canvas' });
|
const node = this.$store.getters.getNodeByName(nodeName);
|
||||||
|
this.$telemetry.track('User clicked execute node button', { node_type: node ? node.type : null, workflow_id: this.$store.getters.workflowId, source: 'canvas' });
|
||||||
this.runWorkflow(nodeName, source);
|
this.runWorkflow(nodeName, source);
|
||||||
},
|
},
|
||||||
onRunWorkflow() {
|
onRunWorkflow() {
|
||||||
|
|||||||
Reference in New Issue
Block a user