Skip to content

Commit

Permalink
Removed: unused parameter passed to the action call(#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Apr 3, 2024
1 parent 3a8ef27 commit 68d9abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/BrokeringQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ onBeforeRouteLeave(async (to) => {
if(!hasUnsavedChanges.value) {
// clearning the selected ruleId whenever user tries to leave the page, we need to clear this id, as if user opens some other routing then the id will not be found which will result in an empty state scenario
store.dispatch("orderRouting/updateRoutingRuleId", "")
store.dispatch("orderRouting/clearRules", "")
store.dispatch("orderRouting/clearRules")
return;
}
Expand All @@ -349,7 +349,7 @@ onBeforeRouteLeave(async (to) => {
handler: () => {
// clearning the selected ruleId whenever user leaves the page, we need to clear this id, as if user opens some other routing then the id will not be found which will result in an empty state scenario
store.dispatch("orderRouting/updateRoutingRuleId", "")
store.dispatch("orderRouting/clearRules", "")
store.dispatch("orderRouting/clearRules")
canLeave = true;
},
},
Expand Down

0 comments on commit 68d9abe

Please sign in to comment.