File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
app/code/Magento/Checkout/view/frontend/web/template/billing-address Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change 13
13
< a if ="currentBillingAddress().telephone " attr ="'href': 'tel:' + currentBillingAddress().telephone " text ="currentBillingAddress().telephone "> </ a > < br />
14
14
15
15
< 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 "/>
26
19
</ 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 >
31
26
</ each >
32
27
33
28
< button visible ="!isAddressSameAsShipping() "
You can’t perform that action at this time.
0 commit comments