Skip to content

Commit

Permalink
Merge pull request #53 from disha1202/#2k06eqx
Browse files Browse the repository at this point in the history
fix: Popover option on a searched product are not working correctly(#2k06eqx)
  • Loading branch information
adityasharma7 authored Oct 17, 2022
2 parents e6901ce + 379007f commit 58ac57a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<!-- Used :key as the changed value was not reflected -->
<ion-checkbox :key="searchedProduct.isSelected" :checked="searchedProduct.isSelected" @ionChange="selectProduct(searchedProduct, $event)"/>

<ion-button fill="clear" color="medium" @click="UpdateProduct($event, searchedProduct.internalName, true, searchedProduct)">
<ion-button fill="clear" color="medium" @click="UpdateProduct($event, searchedProduct.internalName, false, searchedProduct)">
<ion-icon slot="icon-only" :icon="ellipsisVerticalOutline" />
</ion-button>
</div>
Expand Down Expand Up @@ -328,7 +328,10 @@ export default defineComponent({
translucent: true,
showBackdrop: true,
componentProps: { 'id': id, 'isVirtual': isVirtual, 'item': item }
})
});
popover.onDidDismiss().then(() => {
this.searchProduct(this.queryString);
});
return popover.present();
},
isParentProductChecked(parentProductId: string) {
Expand Down

0 comments on commit 58ac57a

Please sign in to comment.