Skip to content

Commit

Permalink
Revert "Improved: Added Toast Notification on Item Removal from Uploa…
Browse files Browse the repository at this point in the history
…d Page(#213)"

This reverts commit 2dce920.
  • Loading branch information
shanmukhdutt committed Dec 8, 2023
1 parent 466b8ce commit 83f1365
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"inventory variance": "inventory variance",
"Instance Url": "Instance Url",
"Item added to upload list": "Item added to upload list",
"Item removed successfully":"Item removed successfully",
"Loading": "Loading",
"Location": "Location",
"Log variance": "Log variance",
Expand Down Expand Up @@ -75,5 +74,4 @@
"Variance updated successfully": "Variance updated successfully",
"View": "View",
"You do not have permission to access this page": "You do not have permission to access this page"

}
1 change: 0 additions & 1 deletion src/store/modules/product/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const actions: ActionTree<ProductState, RootState> = {

async removeItemFromUploadProducts( {commit}, payload) {
commit(types.PRODUCT_REMOVE_FROM_UPLD_PRDTS, {sku: payload});
showToast(translate("Item removed successfully"));
},

async clearUploadProducts ({ commit }) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ 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'
export default defineComponent({
name: "Upload",
Expand Down

0 comments on commit 83f1365

Please sign in to comment.