Skip to content

Commit

Permalink
Fixed: issue in partial allocation check, due to upgrdation in rules …
Browse files Browse the repository at this point in the history
…archived UI(#243)
  • Loading branch information
ymaheshwari1 committed Aug 12, 2024
1 parent cea0a86 commit acea053
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/BrokeringQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,8 @@ async function updateAutoCancelDays() {
function updatePartialAllocation(checked: any) {
inventoryRules.value.map((inventoryRule: any) => {
if(inventoryRule.routingRuleId === selectedRoutingRule.value.routingRuleId) {
inventoryRule.assignmentEnumId = checked ? "ORA_MULTI" : "ORA_SINGLE"
// Updating selected routing rule explicitely as we are using rulesForReorder for fetching selected values
inventoryRule.assignmentEnumId = selectedRoutingRule.value.assignmentEnumId = checked ? "ORA_MULTI" : "ORA_SINGLE"
}
})
hasUnsavedChanges.value = true
Expand Down

0 comments on commit acea053

Please sign in to comment.