fix orders fixture error
This commit is contained in:
parent
ea3b65bd8c
commit
aefb339861
2 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
|
|||
)}
|
||||
</td>
|
||||
</tr>
|
||||
{maybe(() => order && order.discount.amount !== 0) ? (
|
||||
{maybe(() => order && order.discount.amount !== 0) && (
|
||||
<tr>
|
||||
<td>
|
||||
<FormattedMessage
|
||||
|
@ -172,7 +172,7 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
|
|||
-<Money money={order.discount} />
|
||||
</td>
|
||||
</tr>
|
||||
) : null}
|
||||
)}
|
||||
<tr className={classes.totalRow}>
|
||||
<td>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -1042,9 +1042,9 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({
|
|||
canFinalize: true,
|
||||
created: "2018-09-20T23:23:39.811428+00:00",
|
||||
customerNote: "Lorem ipsum dolor sit",
|
||||
discount: null,
|
||||
events: [],
|
||||
fulfillments: [],
|
||||
discount: null,
|
||||
id: "T3JkZXI6MjQ=",
|
||||
lines: [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue