Skip to content

Commit

Permalink
Fixed: typo in disabled property and in productId (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 23, 2024
1 parent 2fd98b5 commit e326ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/CountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<ion-icon slot="icon-only" :icon="chevronUpOutline"></ion-icon>
</ion-button>

<ion-button @click="changeProduct('next')" :disabled="currentItemIndex = itemsList.length - 1" fill="outline" shape="round" color="medium" class="ion-no-padding">
<ion-button @click="changeProduct('next')" :disabled="currentItemIndex === itemsList.length - 1" fill="outline" shape="round" color="medium" class="ion-no-padding">
<ion-icon slot="icon-only" :icon="chevronDownOutline"></ion-icon>
</ion-button>
</ion-item>
Expand Down
2 changes: 1 addition & 1 deletion src/views/HardCountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ async function updateCurrentItemInList(importItemSeqId: any, product: any, scann
if(updatedProduct.scannedId === scannedValue) {
if(importItemSeqId) {
updatedProduct["importItemSeqId"] = importItemSeqId
updatedProduct["productId"] = product.oroductId
updatedProduct["productId"] = product.productId
updatedProduct["isMatchNotFound"] = false
} else {
updatedProduct["isMatchNotFound"] = true
Expand Down

0 comments on commit e326ca0

Please sign in to comment.