Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added slot icon-only to ion-icon in ion-button(#238uwuv) #52

Merged
merged 1 commit into from
Mar 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/views/background-job-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("Background jobs") }}</ion-title>
Expand Down Expand Up @@ -47,7 +47,7 @@ import {
IonToolbar,
modalController } from "@ionic/vue";
import { defineComponent } from "vue";
import { cloudUpload, cloudDownload, build, close } from "ionicons/icons";
import { cloudUpload, cloudDownload, build, closeOutline } from "ionicons/icons";
import { JobService } from '@/services/JobService'
import { useStore } from "@/store";
import { mapGetters } from "vuex";
Expand Down Expand Up @@ -93,7 +93,7 @@ export default defineComponent({
cloudUpload,
cloudDownload,
build,
close,
closeOutline,
store
};
},
Expand All @@ -110,4 +110,4 @@ export default defineComponent({
max-height: 80%;
}

</style>
</style>
6 changes: 3 additions & 3 deletions src/views/edit-shipping-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("Edit shipping date") }}</ion-title>
Expand Down Expand Up @@ -80,7 +80,7 @@ import {
modalController,
} from '@ionic/vue';
import { defineComponent } from 'vue';
import { close, saveOutline } from 'ionicons/icons';
import { closeOutline, saveOutline } from 'ionicons/icons';

export default defineComponent({
name: 'EditShippingModal',
Expand Down Expand Up @@ -110,7 +110,7 @@ export default defineComponent({
},
setup() {
return {
close,
closeOutline,
saveOutline,
};
},
Expand Down
6 changes: 3 additions & 3 deletions src/views/promise-date-modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ion-header>
<ion-toolbar>
<ion-buttons slot="start">
<ion-button @click="closeModal"> <ion-icon :icon="close" /></ion-button>
<ion-button @click="closeModal"> <ion-icon slot="icon-only" :icon="closeOutline" /></ion-button>
</ion-buttons>
<ion-title>{{ $t("Edit promise date") }}</ion-title>
</ion-toolbar>
Expand Down Expand Up @@ -43,7 +43,7 @@ import {
modalController,
alertController } from "@ionic/vue";
import { defineComponent } from "vue";
import { close, calendar, save} from "ionicons/icons";
import { closeOutline, calendar, save} from "ionicons/icons";
import { useStore } from "@/store";
import moment from "moment";
import { mapGetters } from "vuex";
Expand Down Expand Up @@ -120,7 +120,7 @@ export default defineComponent({
setup() {
const store = useStore();
return {
close,
closeOutline,
calendar,
save,
store
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 @@ -146,7 +146,7 @@ export default defineComponent({
setup() {
const store = useStore();
return {
close,
closeOutline,
save,
store
};
Expand Down
6 changes: 3 additions & 3 deletions src/views/warehouse-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("Release preorder to a warehouse") }}</ion-title>
Expand Down Expand Up @@ -59,7 +59,7 @@ import {
modalController,
alertController } from "@ionic/vue";
import { defineComponent } from "vue";
import { close, send } from "ionicons/icons";
import { closeOutline, send } from "ionicons/icons";
import { FacilityService } from '@/services/FacilityService'
import { useStore } from "@/store";
import { ProductService } from '@/services/ProductService'
Expand Down Expand Up @@ -205,7 +205,7 @@ export default defineComponent({
setup() {
const store = useStore();
return {
close,
closeOutline,
send,
store
};
Expand Down