Skip to content

Commit

Permalink
Camel Case Corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
RishabhDhawad committed Oct 13, 2023
1 parent cc61673 commit 658020f
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 @@ -401,39 +401,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 @@ -144,11 +144,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 658020f

Please sign in to comment.