fix(core): Node version in the user added node to workflow canvas event (no-changelog) (#7814)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Michael Kret 2023-11-27 19:50:20 +02:00 committed by GitHub
parent 9b87a596ca
commit df691fba0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2216,6 +2216,7 @@ export default defineComponent({
useSegment().trackAddedTrigger(nodeTypeName); useSegment().trackAddedTrigger(nodeTypeName);
const trackProperties: ITelemetryTrackProperties = { const trackProperties: ITelemetryTrackProperties = {
node_type: nodeTypeName, node_type: nodeTypeName,
node_version: newNodeData.typeVersion,
is_auto_add: isAutoAdd, is_auto_add: isAutoAdd,
workflow_id: this.workflowsStore.workflowId, workflow_id: this.workflowsStore.workflowId,
drag_and_drop: options.dragAndDrop, drag_and_drop: options.dragAndDrop,