Fix a bug where an event's data was recorded in camel case. (https://github.com/woocommerce/woocommerce-admin/pull/5051)
Fixes woocommerce/woocommerce-admin#4464 `wcadmin_tasklist_shipping_label_printing` events were being filtered into rejected events because the data being passed was in camel case instead of snake case. This fixes that issue.
This commit is contained in:
parent
c884f96bf9
commit
c0c9a20f73
|
@ -253,14 +253,14 @@ class Shipping extends Component {
|
|||
onComplete={ () => {
|
||||
recordEvent( 'tasklist_shipping_label_printing', {
|
||||
install: true,
|
||||
pluginsToActivate,
|
||||
plugins_to_activate: pluginsToActivate,
|
||||
} );
|
||||
this.completeStep();
|
||||
} }
|
||||
onSkip={ () => {
|
||||
recordEvent( 'tasklist_shipping_label_printing', {
|
||||
install: false,
|
||||
pluginsToActivate,
|
||||
plugins_to_activate: pluginsToActivate,
|
||||
} );
|
||||
getHistory().push( getNewPath( {}, '/', {} ) );
|
||||
} }
|
||||
|
|
Loading…
Reference in New Issue