Skip to content

Commit

Permalink
Merge pull request #542 from amansinghbais/#528-hard-count-view
Browse files Browse the repository at this point in the history
Fixed: ref getting assigned to previous item var (#528)
  • Loading branch information
ymaheshwari1 authored Dec 23, 2024
2 parents cba4d6c + ab179fe commit f631e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/HardCountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ const onScroll = (event: any) => {
if(inputCount.value) saveCount(previousItem, true);
}
previousItem = currentProduct // Update the previousItem variable with the current item
previousItem = currentProduct.value // Update the previousItem variable with the current item
if(product) {
store.dispatch("product/currentProduct", product);
}
Expand Down

0 comments on commit f631e4a

Please sign in to comment.