Skip to content

Commit

Permalink
Improved: syntax for better readability (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 15, 2023
1 parent c4fdeeb commit b06fb52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/AddAddressModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineComponent({
IonItem,
IonLabel,
IonTitle,
IonToolbar,
IonToolbar
},
methods: {
closeModal() {
Expand Down
8 changes: 2 additions & 6 deletions src/components/SelectOperatingTimeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@
<ion-content>
<ion-list>
<ion-item lines="none">
<ion-label>
{{ translate("Opening Time") }}
</ion-label>
<ion-label>{{ translate("Opening Time") }}</ion-label>
<ion-button color="medium" @click="selectTime">{{ "10:45 am" }}</ion-button>
</ion-item>
<ion-item lines="none">
<ion-label>
{{ translate("Closing Time") }}
</ion-label>
<ion-label>{{ translate("Closing Time") }}</ion-label>
<ion-button color="medium" @click="selectTime">{{ "10:45 am" }}</ion-button>
</ion-item>
</ion-list>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectProductStoreModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default defineComponent({
IonLabel,
IonList,
IonTitle,
IonToolbar,
IonToolbar
},
methods: {
closeModal() {
Expand Down
8 changes: 4 additions & 4 deletions src/views/FacilityDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
<ion-item lines="full">
<ion-label>{{ translate("Latitude") }}</ion-label>
<p>{{ "<latitude>" }}</p>
</ion-item>
<ion-item lines="full">
<ion-label>{{ translate("Longitude") }}</ion-label>
<p>{{ "<longitude>" }}</p>
</ion-item>
<ion-item lines="full">
<ion-label>{{ translate("Longitude") }}</ion-label>
<p>{{ "<longitude>" }}</p>
</ion-item>
<ion-button fill="clear" @click="addGeoPoint">{{ translate("Edit") }}</ion-button>
<ion-button expand="block" fill="outline" @click="addGeoPoint">
Expand Down

0 comments on commit b06fb52

Please sign in to comment.