File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed
packages/template-retail-react-app/app/pages/account Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ const AccountOrderDetail = () => {
124124 {
125125 parameters : {
126126 orderNo : params . orderNo ,
127- expand : 'oms'
127+ expand : 'oms, oms_shipments '
128128 }
129129 } ,
130130 {
@@ -239,11 +239,9 @@ const AccountOrderDetail = () => {
239239 values = { { orderNumber : order . orderNo } }
240240 />
241241 </ Text >
242- { ( order . status || order . omsData ?. status ) && (
243- < Badge colorScheme = "green" >
244- { order . status || order . omsData ?. status }
245- </ Badge >
246- ) }
242+ < Badge colorScheme = "green" >
243+ { order . status || order . omsData ?. status }
244+ </ Badge >
247245 </ Stack >
248246 </ Stack >
249247 ) : (
@@ -394,16 +392,12 @@ const AccountOrderDetail = () => {
394392 ) }
395393 </ Heading >
396394 < Box >
397- { ( ( shipment . shippingAddress . firstName &&
398- shipment . shippingAddress . lastName ) ||
399- shipment . shippingAddress . fullName ) && (
400- < Text fontSize = "sm" >
401- { shipment . shippingAddress . firstName &&
402- shipment . shippingAddress . lastName
403- ? `${ shipment . shippingAddress . firstName } ${ shipment . shippingAddress . lastName } `
404- : shipment . shippingAddress . fullName }
405- </ Text >
406- ) }
395+ < Text fontSize = "sm" >
396+ { shipment . shippingAddress . firstName &&
397+ shipment . shippingAddress . lastName
398+ ? `${ shipment . shippingAddress . firstName } ${ shipment . shippingAddress . lastName } `
399+ : shipment . shippingAddress . fullName }
400+ </ Text >
407401 < Text fontSize = "sm" >
408402 { shipment . shippingAddress . address1 }
409403 </ Text >
You can’t perform that action at this time.
0 commit comments