Skip to content

Commit

Permalink
Improved: clearing the input on successfully scanning an item in scan…
Browse files Browse the repository at this point in the history
…OrderItem modal (#845)
  • Loading branch information
amansinghbais committed Nov 13, 2024
1 parent e9e3503 commit 94ca2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ScanOrderItemModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export default defineComponent({
} else {
showToast(translate((currentItem.productSku ? "Product is already received:" : "Scanned item is not present within the shipment:"), { itemName: payload }))
}
this.queryString = ''
},
areAllItemsSelected() {
return !this.orderItems.some((item: any) => !item.isChecked)
Expand Down

0 comments on commit 94ca2ac

Please sign in to comment.