Skip to content

Commit

Permalink
fix lint 4
Browse files Browse the repository at this point in the history
  • Loading branch information
lucvysk committed Apr 13, 2023
1 parent 60bffdf commit 876498d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions checkout-ui-custom/src/_js/_customAddressForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit 876498d

Please sign in to comment.