File tree Expand file tree Collapse file tree 2 files changed +24
-28
lines changed
app/code/Magento/Checkout/view/frontend/web/template
shipping-information/address-renderer Expand file tree Collapse file tree 2 files changed +24
-28
lines changed Original file line number Diff line number Diff line change 1313 < a if ="currentBillingAddress().telephone " attr ="'href': 'tel:' + currentBillingAddress().telephone " text ="currentBillingAddress().telephone "> </ a > < br />
1414
1515 < each args ="data: currentBillingAddress().customAttributes, as: 'element' ">
16- < each args ="data: Object.keys(element), as: 'attribute' ">
17- < if args ="typeof element[attribute] === 'object' ">
18- < if args ="element[attribute].label ">
19- < text args ="element[attribute].label "/>
20- </ if >
21- < ifnot args ="element[attribute].label ">
22- < if args ="element[attribute].value ">
23- < text args ="element[attribute].value "/>
24- </ if >
25- </ ifnot >
16+ < if args ="typeof element === 'object' ">
17+ < if args ="element.label ">
18+ < text args ="element.label "/>
2619 </ if >
27- < if args ="typeof element[attribute] === 'string' ">
28- < text args ="element[attribute] "/>
29- </ if > < br />
30- </ each >
20+ < ifnot args ="element.label ">
21+ < if args ="element.value ">
22+ < text args ="element.value "/>
23+ </ if >
24+ </ ifnot >
25+ </ if >
26+ < if args ="typeof element === 'string' ">
27+ < text args ="element "/>
28+ </ if > < br />
3129 </ each >
3230
3331 < button visible ="!isAddressSameAsShipping() "
Original file line number Diff line number Diff line change 1313 < a if ="address().telephone " attr ="'href': 'tel:' + address().telephone " text ="address().telephone "> </ a > < br />
1414
1515 < each args ="data: address().customAttributes, as: 'element' ">
16- < each args ="data: Object.keys(element), as: 'attribute' ">
17- < if args ="typeof element[attribute] === 'object' ">
18- < if args ="element[attribute].label ">
19- < text args ="element[attribute].label "/>
20- </ if >
21- < ifnot args ="element[attribute].label ">
22- < if args ="element[attribute].value ">
23- < text args ="element[attribute].value "/>
24- </ if >
25- </ ifnot >
16+ < if args ="typeof element === 'object' ">
17+ < if args ="element.label ">
18+ < text args ="element.label "/>
2619 </ if >
27- < if args ="typeof element[attribute] === 'string' ">
28- < text args ="element[attribute] "/>
29- </ if > < br />
30- </ each >
20+ < ifnot args ="element.label ">
21+ < if args ="element.value ">
22+ < text args ="element.value "/>
23+ </ if >
24+ </ ifnot >
25+ </ if >
26+ < if args ="typeof element === 'string' ">
27+ < text args ="element "/>
28+ </ if > < br />
3129 </ each >
3230</ if >
You can’t perform that action at this time.
0 commit comments