Fix - Default shipping class not loading from localize script

This commit is contained in:
Shiva Poudel 2017-11-22 11:34:03 +05:45
parent 16152bfcf0
commit cea8982ac3
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@
classes = _.indexBy( model.get( 'classes' ), 'term_id' ), classes = _.indexBy( model.get( 'classes' ), 'term_id' ),
changes = {}, changes = {},
size = _.size( classes ), size = _.size( classes ),
newRow = _.extend( {}, data.default_class, { newRow = _.extend( {}, data.default_shipping_class, {
term_id: 'new-' + size + '-' + Date.now(), term_id: 'new-' + size + '-' + Date.now(),
editing: true, editing: true,
newRow : true newRow : true