diff --git a/checkout-ui-custom/src/_js/_customAddressForm.js b/checkout-ui-custom/src/_js/_customAddressForm.js index ffa1d467..d1d4a91d 100644 --- a/checkout-ui-custom/src/_js/_customAddressForm.js +++ b/checkout-ui-custom/src/_js/_customAddressForm.js @@ -93,9 +93,7 @@ class fnsCustomAddressForm { geoCoordinates = '' ) { $('.vcustom--vtex-omnishipping-1-x-address #v-custom-ship-street').val( - 'number' in this.addressrules - ? street - : formattedStreet || street + 'number' in this.addressrules ? street : formattedStreet || street ) $('.vcustom--vtex-omnishipping-1-x-address #ship-complement').val( complement @@ -107,9 +105,7 @@ class fnsCustomAddressForm { ) $('.vcustom--vtex-omnishipping-1-x-address #v-custom-ship-street').attr( 'data-street', - 'number' in this.addressrules - ? street - : formattedStreet || street + 'number' in this.addressrules ? street : formattedStreet || street ) $('.vcustom--vtex-omnishipping-1-x-address #v-custom-ship-street').attr( 'data-number',