Skip to content

Commit

Permalink
Improved: action name(#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 16, 2024
1 parent b92eb9f commit 684d90f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/store/modules/orderRouting/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const actions: ActionTree<OrderRoutingState, RootState> = {
commit(types.ORDER_ROUTING_GROUPS_UPDATED, routingGroups)
},

async createBrokeringGroup({ dispatch }, groupName) {
async createRoutingGroup({ dispatch }, groupName) {
const payload = {
groupName,
productStoreId: "STORE"
Expand Down
2 changes: 1 addition & 1 deletion src/views/BrokeringRuns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function addNewRun() {
newRunAlert.onDidDismiss().then((result: any) => {
if(result.data?.values?.runName) {
store.dispatch('orderRouting/createBrokeringGroup', result.data.values.runName)
store.dispatch('orderRouting/createRoutingGroup', result.data.values.runName)
}
})
Expand Down

0 comments on commit 684d90f

Please sign in to comment.