Skip to content

Commit

Permalink
fix: edit shoppingList product
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 committed Mar 16, 2023
1 parent 91b03ef commit 9682cfd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/storefront/src/pages/order/Order.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ const Order = ({
{
key: 'orderId',
title: 'Order',
width: '10%',
},
{
key: 'poNumber',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ export const ChooseOptionsDialog = (props: ChooseOptionsDialogProps) => {
}

const handleCancelClicked = () => {
setQuantity(1)
onCancel()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,13 @@ const ShoppingDetailTable = (props: ShoppingDetailTableProps, ref: Ref<unknown>)
variantId,
itemId,
optionList,
quantity,
} = row

handleOpenProductEdit({
...productsSearch,
selectOptions: optionList,
quantity,
}, variantId, itemId)
}}
/>
Expand Down

0 comments on commit 9682cfd

Please sign in to comment.