diff --git a/src/views/HardCountDetail.vue b/src/views/HardCountDetail.vue index cdc5ae41..211e899f 100644 --- a/src/views/HardCountDetail.vue +++ b/src/views/HardCountDetail.vue @@ -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); }