Skip to content

Commit

Permalink
Merge pull request #55 from Nihu-Sharma/#238uwuv
Browse files Browse the repository at this point in the history
Added slot icon-only to ion-icon in ion-button and updated icon(#238u…
  • Loading branch information
dt2patel authored Mar 11, 2022
2 parents e4c5b3f + f10c3a9 commit cfd517f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/views/AssignPickerModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ion-toolbar>
<ion-buttons slot="start">
<ion-button @click="closeModal">
<ion-icon :icon="closeOutline" />
<ion-icon slot="icon-only" :icon="closeOutline" />
</ion-button>
</ion-buttons>
<ion-title>{{ $t("Assign Pickers") }}</ion-title>
Expand Down
6 changes: 3 additions & 3 deletions src/views/EditPackagingModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ion-toolbar>
<ion-buttons slot="start">
<ion-button @click="closeModal">
<ion-icon :icon="close" />
<ion-icon slot="icon-only" :icon="closeOutline" />
</ion-button>
</ion-buttons>
<ion-title>{{ $t("Edit packaging") }}</ion-title>
Expand Down Expand Up @@ -104,7 +104,7 @@ import {
IonToolbar,
modalController } from "@ionic/vue";
import { defineComponent } from "vue";
import { addCircleOutline, close, pricetag } from "ionicons/icons";
import { addCircleOutline, closeOutline, pricetag } from "ionicons/icons";
export default defineComponent({
name: "EditPackagingModal",
components: {
Expand Down Expand Up @@ -133,7 +133,7 @@ export default defineComponent({
setup() {
return {
addCircleOutline,
close,
closeOutline,
pricetag
};
},
Expand Down
6 changes: 3 additions & 3 deletions src/views/ReportIssueModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ion-toolbar>
<ion-buttons slot="start">
<ion-button @click="closeModal">
<ion-icon :icon="close" />
<ion-icon slot="icon-only" :icon="closeOutline" />
</ion-button>
</ion-buttons>
<ion-title>{{ $t("Report an issue") }}</ion-title>
Expand Down Expand Up @@ -89,7 +89,7 @@ import {
IonToolbar,
modalController } from "@ionic/vue";
import { defineComponent } from "vue";
import { close, pricetag } from "ionicons/icons";
import { closeOutline, pricetag } from "ionicons/icons";
export default defineComponent({
name: "ReportIssueModal",
components: {
Expand All @@ -116,7 +116,7 @@ export default defineComponent({
},
setup() {
return {
close,
closeOutline,
pricetag
};
},
Expand Down
6 changes: 3 additions & 3 deletions src/views/timezone-modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ion-toolbar>
<ion-buttons slot="start">
<ion-button @click="closeModal">
<ion-icon :icon="close" />
<ion-icon slot="icon-only" :icon="closeOutline" />
</ion-button>
</ion-buttons>
<ion-title>{{ $t("Select time zone") }}</ion-title>
Expand Down Expand Up @@ -59,7 +59,7 @@ import {
modalController,
alertController } from "@ionic/vue";
import { defineComponent } from "vue";
import { close, save } from "ionicons/icons";
import { closeOutline, save } from "ionicons/icons";
import { useStore } from "@/store";
import { UserService } from "@/services/UserService";
import { hasError } from '@/utils'
Expand Down Expand Up @@ -139,7 +139,7 @@ export default defineComponent({
setup() {
const store = useStore();
return {
close,
closeOutline,
save,
store
};
Expand Down

0 comments on commit cfd517f

Please sign in to comment.