Skip to content

Commit

Permalink
Improved: optimized check condition (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Sep 4, 2024
1 parent c7b6f8b commit d6895c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/BrokeringQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ function updateOrderFilterValue(event: CustomEvent, id: string, multi = false) {
function updateRuleFilterValue(event: CustomEvent, id: string) {
if(id === "FACILITY_ORDER_LIMIT") {
inventoryRuleFilterOptions.value[conditionFilterEnums[id].code].fieldValue = event.detail.checked === true ? "Y" : "N"
inventoryRuleFilterOptions.value[conditionFilterEnums[id].code].fieldValue = event.detail.checked ? "Y" : "N"
} else {
inventoryRuleFilterOptions.value[conditionFilterEnums[id].code].fieldValue = event.detail.value
}
Expand Down

0 comments on commit d6895c1

Please sign in to comment.