Skip to content

Commit

Permalink
Merge pull request #95 from ymaheshwari1/#84
Browse files Browse the repository at this point in the history
Fixed: undefined error for facilityName for order filters(#84)
  • Loading branch information
ymaheshwari1 authored Feb 15, 2024
2 parents 194c2f5 + f3058cc commit 3935f6a
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 @@ -647,7 +647,7 @@ function getSelectedValue(options: any, enums: any, parameter: string) {
if(value?.length > 1) {
return `${value.length} ${translate("selected")}`
} else {
return parameter === "SHIPPING_METHOD" ? shippingMethods.value[value[0]].description || value[0] : facilities.value[value[0]].facilityName || value[0]
return parameter === "SHIPPING_METHOD" ? shippingMethods.value[value[0]]?.description || value[0] : facilities.value[value[0]]?.facilityName || value[0]
}
}
Expand Down

0 comments on commit 3935f6a

Please sign in to comment.