Skip to content

Commit

Permalink
Improved: alphabetical ordering in imports (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 27, 2023
1 parent 057e4b6 commit 68819c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/components/ProductStorePopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<script lang="ts">
import {
IonContent,
IonList,
IonListHeader,
IonIcon,
IonItem,
IonList,
IonListHeader,
popoverController
} from "@ionic/vue";
import { defineComponent } from "vue";
Expand All @@ -37,17 +37,17 @@ export default defineComponent({
name: "ProductStorePopover",
components: {
IonContent,
IonList,
IonListHeader,
IonIcon,
IonItem
IonItem,
IonList,
IonListHeader
},
props: ['currentProductStore', 'facilityId', 'primaryMember'],
computed: {
...mapGetters({
facilityProductStores: 'facility/getFacilityProductStores',
productStores: 'util/getProductStores',
getProductStore: 'util/getProductStore'
getProductStore: 'util/getProductStore',
productStores: 'util/getProductStores'
})
},
methods: {
Expand Down Expand Up @@ -146,9 +146,9 @@ export default defineComponent({
let facilityGroupId;
try {
const resp = await FacilityService.createFacilityGroup({
facilityGroupTypeId: 'FEATURING',
facilityGroupId: productStoreId,
facilityGroupName: this.getProductStore(productStoreId).storeName,
facilityGroupId: productStoreId
facilityGroupTypeId: 'FEATURING'
})
if(!hasError(resp)) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectProductStoreModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export default defineComponent({
},
computed: {
...mapGetters({
productStores: 'util/getProductStores',
facilityProductStores: 'facility/getFacilityProductStores',
productStores: 'util/getProductStores'
})
},
props: ["facilityId", "selectedProductStores"],
Expand Down
4 changes: 2 additions & 2 deletions src/services/FacilityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const fetchFacilityGroupInformation = async(facilityIds: Array<string>): Promise
url: "performFind",
method: "post",
data: params
}) as any
}) as any;

if(!hasError(resp) && resp.data.count > 0) {
facilitiesGroupInformation = resp.data.docs.reduce((facilityGroups: any, facilityGroup: any) => {
Expand Down Expand Up @@ -334,8 +334,8 @@ export const FacilityService = {
createFacilityIdentification,
createFacilityLocation,
createProductStoreFacility,
deleteFacilityLocation,
createShopifyShopLocation,
deleteFacilityLocation,
deleteShopifyShopLocation,
fetchFacilities,
fetchFacilitiesOrderCount,
Expand Down

0 comments on commit 68819c3

Please sign in to comment.