Skip to content

Commit

Permalink
Fixed: re-initializing the observer when changing the segment (hotwax…
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Jan 15, 2025
1 parent c243c3e commit 1dad5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/views/CountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ function updateFilteredItems() {
} else {
store.dispatch("product/currentProduct", {});
}
initializeObserver()
}
function initializeObserver() {
Expand Down
1 change: 1 addition & 0 deletions src/views/HardCountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ function handleSegmentChange() {
}
inputCount.value = ""
selectedCountUpdateType.value = defaultRecountUpdateBehaviour.value
initializeObserver()
}
async function changeProduct(direction: string) {
Expand Down

0 comments on commit 1dad5b4

Please sign in to comment.