Skip to content

Commit

Permalink
Improved: import entries in alphabetical order and route path (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 16, 2023
1 parent b06fb52 commit 57a7906
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/components/OpenStorePopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import {
IonContent,
IonList,
IonListHeader,
IonItem,
IonIcon
IonIcon,
IonItem
} from "@ionic/vue";
import { defineComponent } from "vue";
import { starOutline, removeCircleOutline } from "ionicons/icons";
Expand All @@ -32,8 +32,8 @@ export default defineComponent({
IonContent,
IonList,
IonListHeader,
IonItem,
IonIcon
IonIcon,
IonItem
},
setup() {
return {
Expand Down
6 changes: 3 additions & 3 deletions src/components/SelectOperatingTimeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

<script lang="ts">
import {
IonButtons,
IonButton,
IonButtons,
IonContent,
IonDatetime,
IonFooter,
Expand All @@ -70,8 +70,8 @@ import { translate } from '@hotwax/dxp-components'
export default defineComponent({
name: "SelectOperatingTimeModal",
components: {
IonButtons,
IonButton,
IonButtons,
IonContent,
IonDatetime,
IonFooter,
Expand All @@ -86,7 +86,7 @@ export default defineComponent({
},
data() {
return {
isTimeModalOpen: false as boolean
isTimeModalOpen: false
}
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/SelectProductStoreModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

<script lang="ts">
import {
IonButtons,
IonButton,
IonButtons,
IonCheckbox,
IonContent,
IonFab,
Expand All @@ -53,8 +53,8 @@ import { translate } from '@hotwax/dxp-components'
export default defineComponent({
name: "SelectProductStoreModal",
components: {
IonButtons,
IonButton,
IonButtons,
IonCheckbox,
IonContent,
IonFab,
Expand Down
3 changes: 2 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const routes: Array<RouteRecordRaw> = [
beforeEnter: loginGuard
},
{
path: "/facility-details",
path: "/facility-details/:facilityId",
props: true,
name: "Facility Details",
component: FacilityDetails,
beforeEnter: authGuard
Expand Down
8 changes: 4 additions & 4 deletions src/views/FacilityDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ import {
IonTitle,
IonToggle,
IonToolbar,
popoverController,
modalController
modalController,
popoverController
} from '@ionic/vue'
import { addOutline, addCircleOutline, closeOutline, ellipsisVerticalOutline } from 'ionicons/icons'
import { addCircleOutline, addOutline, closeOutline, ellipsisVerticalOutline } from 'ionicons/icons'
import OpenStorePopover from '@/components/OpenStorePopover.vue';
import { translate } from '@hotwax/dxp-components';
import AddAddressModal from '@/components/AddAddressModal.vue'
Expand Down Expand Up @@ -328,8 +328,8 @@ export default defineComponent({
},
setup() {
return {
addOutline,
addCircleOutline,
addOutline,
closeOutline,
ellipsisVerticalOutline,
translate
Expand Down

0 comments on commit 57a7906

Please sign in to comment.