Set the key to `rates` not the variable rates.
This commit is contained in:
parent
81804d8d3b
commit
6e1388d334
|
@ -71,7 +71,7 @@
|
||||||
},
|
},
|
||||||
onSaveResponse : function( response, textStatus ) {
|
onSaveResponse : function( response, textStatus ) {
|
||||||
if ( 'success' === textStatus ) {
|
if ( 'success' === textStatus ) {
|
||||||
WCTaxTableModelInstance.set( rates, response.data.rates );
|
WCTaxTableModelInstance.set( 'rates', response.data.rates );
|
||||||
WCTaxTableModelInstance.trigger( 'change:rates' );
|
WCTaxTableModelInstance.trigger( 'change:rates' );
|
||||||
|
|
||||||
WCTaxTableModelInstance.changes = {};
|
WCTaxTableModelInstance.changes = {};
|
||||||
|
|
Loading…
Reference in New Issue