diff --git a/package-lock.json b/package-lock.json index ed52fbb58..767e0b6ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@casl/ability": "^6.0.0", "@hotwax/app-version-info": "^1.0.0", "@hotwax/apps-theme": "^1.2.6", - "@hotwax/dxp-components": "^1.13.0", + "@hotwax/dxp-components": "^1.14.1", "@hotwax/oms-api": "^1.14.0", "@ionic/core": "^7.6.0", "@ionic/vue": "^7.6.0", @@ -2807,9 +2807,9 @@ "integrity": "sha512-zpUjGoY7LBlKeiP0V7tonrmoey8HQ5THQmyixQ+IDtrjmEJNBjynW/Ef3gC0FUNNPuVqxWPZdT5CVgaETLGTwg==" }, "node_modules/@hotwax/dxp-components": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@hotwax/dxp-components/-/dxp-components-1.13.0.tgz", - "integrity": "sha512-AkzHpGIWYFURIAKaqioNZdkaeJBaJHs+ep+5ibLyEj+Ex+GsyMsI9L1NVO+tl91ECkCNx02QjHPhMfpo0osQ3w==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@hotwax/dxp-components/-/dxp-components-1.14.1.tgz", + "integrity": "sha512-JmaD1z/wHtmHl7kE94lDJPl/DDD95kaEJcp81ShHW8U8J0CBnI3JaBC5+ThKCeUmJq8+9L/in6C0/t5EslVOIg==", "dependencies": { "@hotwax/oms-api": "^1.8.1", "@ionic/core": "^7.6.0", @@ -2823,16 +2823,6 @@ "vue-i18n": "^9.2.2" } }, - "node_modules/@hotwax/dxp-components/node_modules/@ionic/core": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/@ionic/core/-/core-7.8.2.tgz", - "integrity": "sha512-1Iwe4XSaEYD0u7U/AnnKYNRXmPxx/doTl6pExXq/nlEd7q0AykRkPEy5rClqrQcJOrgFogAx1FwSObfgm0xnNw==", - "dependencies": { - "@stencil/core": "^4.12.2", - "ionicons": "^7.2.2", - "tslib": "^2.1.0" - } - }, "node_modules/@hotwax/dxp-components/node_modules/pinia": { "version": "2.0.36", "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.0.36.tgz", @@ -2891,11 +2881,6 @@ } } }, - "node_modules/@hotwax/dxp-components/node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, "node_modules/@hotwax/oms-api": { "version": "1.14.0", "resolved": "https://registry.npmjs.org/@hotwax/oms-api/-/oms-api-1.14.0.tgz", diff --git a/package.json b/package.json index 8f4605345..4a68f69ac 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@casl/ability": "^6.0.0", "@hotwax/app-version-info": "^1.0.0", "@hotwax/apps-theme": "^1.2.6", - "@hotwax/dxp-components": "^1.13.0", + "@hotwax/dxp-components": "^1.14.1", "@hotwax/oms-api": "^1.14.0", "@ionic/core": "^7.6.0", "@ionic/vue": "^7.6.0", diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts index e9a2699c2..fdf7da9b0 100644 --- a/src/store/modules/user/index.ts +++ b/src/store/modules/user/index.ts @@ -13,7 +13,7 @@ const userModule: Module = { currentFacility: {}, instanceUrl: '', preference: { - showShippingOrders: true, + showShippingOrders: false, showPackingSlip: false, configurePicker: false }, diff --git a/src/store/modules/user/mutations.ts b/src/store/modules/user/mutations.ts index f3de9e8f9..f9758450c 100644 --- a/src/store/modules/user/mutations.ts +++ b/src/store/modules/user/mutations.ts @@ -11,6 +11,11 @@ const mutations: MutationTree = { state.current = {} state.currentFacility = {} state.permissions = [] + state.preference= { + showShippingOrders: false, + showPackingSlip: false, + configurePicker: false + } }, [types.USER_INFO_UPDATED] (state, payload) { state.current = payload