Skip to content

Commit

Permalink
test transfer step
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Nov 1, 2024
1 parent 26c31ae commit 0e4132c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion protocol-designer/src/analytics/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ export const reduxActionToAnalyticsEvent = (
additionalProperties.__pipetteName =
pipetteEntities[stepArgs?.pipette].name
}

const stepName = stepArgs.commandCreatorFnName

switch (stepName) {
case 'transfer': {
return {
name: 'transferStep',
properties: { ...stepArgs, ...additionalProperties },
}
}
}
return {
name: 'saveStep',
properties: { ...stepArgs, ...additionalProperties },
Expand Down

0 comments on commit 0e4132c

Please sign in to comment.