Skip to content

Commit

Permalink
Improved: scrolling to the first element on removing the last item (#567
Browse files Browse the repository at this point in the history
)
  • Loading branch information
amansinghbais committed Jan 6, 2025
1 parent e637baf commit e6f780d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/HardCountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ function removeCountItem(current: any) {
store.dispatch("count/updateCycleCountItems", updatedItems);
store.dispatch("product/currentProduct", updatedProduct ? updatedProduct : {})
if(updatedProduct) scrollToProduct(updatedProduct);
}
async function scanProduct() {
Expand Down

0 comments on commit e6f780d

Please sign in to comment.