fix: Fix node_type property in all events (#3759)

This commit is contained in:
Ahsan Virani
2022-07-24 17:37:34 +02:00
committed by GitHub
parent 57afd480ab
commit 1f1a63c39a
2 changed files with 3 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ export default mixins(
}
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.$emit('execute');
}