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