shipping zone settings: fixed title for shipping methods without settings

This commit is contained in:
Bill Gouveros 2018-06-08 00:43:06 +03:00
parent dc20237f40
commit c8dbdc4f81
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@
var $tr = view.$el.find( 'tr[data-id="' + rowData.instance_id + '"]');
if ( ! rowData.has_settings ) {
$tr.find( '.wc-shipping-zone-method-title a').replaceWith( $tr.find( '.wc-shipping-zone-method-title' ).text() );
$tr.find(".wc-shipping-zone-method-title").text(t.find(".wc-shipping-zone-method-title > a").text() );
$tr.find( '.wc-shipping-zone-method-settings' ).remove();
}
} );

File diff suppressed because one or more lines are too long