diff --git a/src/locales/en.json b/src/locales/en.json index 7f8859dd..7846b6e7 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -23,6 +23,7 @@ "inventory variance": "inventory variance", "Instance Url": "Instance Url", "Item added to upload list": "Item added to upload list", + "Item removed from upload list":"Item removed from upload list", "Loading": "Loading", "Location": "Location", "Log variance": "Log variance", diff --git a/src/views/Upload.vue b/src/views/Upload.vue index 9011e116..d40bbfec 100644 --- a/src/views/Upload.vue +++ b/src/views/Upload.vue @@ -71,7 +71,8 @@ import { colorPaletteOutline, resize, cloudUploadOutline } from 'ionicons/icons' import { mapGetters, useStore } from 'vuex'; import { useRouter } from 'vue-router'; import { ShopifyImg } from '@hotwax/dxp-components'; - import { Actions, hasPermission } from '@/authorization' +import { Actions, hasPermission } from '@/authorization'; +import { showToast } from '@/utils'; export default defineComponent({ name: "Upload", @@ -103,6 +104,7 @@ export default defineComponent({ methods: { removeItem (sku: any) { this.store.dispatch('product/removeItemFromUploadProducts', sku) + showToast(this.$t("Item removed from upload list")); }, async presentAlertOnUpload() { const alert = await alertController.create({