Skip to content

Commit

Permalink
Merge pull request #248 from RishabhDhawad/main
Browse files Browse the repository at this point in the history
Camel Case Corrected
  • Loading branch information
ymaheshwari1 authored Nov 19, 2024
2 parents 7c2e53f + 658020f commit 00b3609
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/views/order-popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@ export default defineComponent({
return alert.present();
},
async openWarehouseList() {
const warehousemodal = await modalController.create({
const warehouseModal = await modalController.create({
component: WarehouseModal,
componentProps: {
item: this.item,
},
});
warehousemodal.onDidDismiss().finally(() => {
warehouseModal.onDidDismiss().finally(() => {
this.closePopover();
});
return warehousemodal.present();
return warehouseModal.present();
},
async editPromiseDate() {
const datemodal = await modalController.create({
const dateModal = await modalController.create({
component: PromiseDateModal,
componentProps: {
item: this.item
},
});
datemodal.onDidDismiss().finally(() => {
dateModal.onDidDismiss().finally(() => {
this.closePopover();
});
return datemodal.present();
return dateModal.present();
},
async cancelAlert() {
const alert = await alertController.create({
Expand Down
16 changes: 8 additions & 8 deletions src/views/orders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -429,39 +429,39 @@ export default defineComponent({
return alert.present();
},
async openWarehouseList() {
const warehousemodal = await modalController.create({
const warehouseModal = await modalController.create({
component: WarehouseModal,
cssClass: "my-custom-class",
componentProps: {
items: this.selectedItems
},
});
warehousemodal.onDidDismiss().finally(() => {
warehouseModal.onDidDismiss().finally(() => {
// TODO FIX this it should deselect only on successful action
this.deselectSelectedItems();
})
return warehousemodal.present();
return warehouseModal.present();
},
async openActiveJobs() {
const bgjobmodal = await modalController.create({
const bgjobModal = await modalController.create({
component: BackgroundJobModal,
cssClass: "my-custom-class",
});
return bgjobmodal.present();
return bgjobModal.present();
},
async editPromiseDate() {
const datemodal = await modalController.create({
const dateModal = await modalController.create({
component: PromiseDateModal,
cssClass: "my-custom-class",
componentProps: {
items: this.selectedItems
},
});
datemodal.onDidDismiss().finally(() => {
dateModal.onDidDismiss().finally(() => {
// TODO FIX this it should deselect only on successful action
this.deselectSelectedItems();
})
return datemodal.present();
return dateModal.present();
},
selectItem: function(event: any, item: any) {
const existingItemIndex = this.selectedItems.findIndex((element: any) => element.orderId === item.orderId && element.orderItemSeqId === item.orderItemSeqId)
Expand Down
4 changes: 2 additions & 2 deletions src/views/products.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ export default defineComponent({
},
async openActiveJobs() {
const bgjobmodal = await modalController.create({
const bgjobModal = await modalController.create({
component: BackgroundJobModal,
cssClass: "my-custom-class",
});
return bgjobmodal.present();
return bgjobModal.present();
},
selectSearchBarText(event: any) {
event.target.getInputElement().then((element: any) => {
Expand Down

0 comments on commit 00b3609

Please sign in to comment.