Skip to content

Commit

Permalink
Fixed: ref getting assigned to previous item var (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 23, 2024
1 parent cba4d6c commit ab179fe
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 ab179fe

Please sign in to comment.