Commit f5168cb4 authored by PDuarte's avatar PDuarte

avaliability UI remove fix

parent 23a8e128
......@@ -118,7 +118,7 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
})
let coValues
if (actionValue === 'permit') {
coValues = denytGeo.map(elm => {
coValues = denytGeo.filter(q => !!q).map(elm => {
return {
id: elm.value,
name: elm.label,
......@@ -129,8 +129,10 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
}
}
})
} else {
coValues = permitGeo.map(elm => {
console.log(permitGeo)
coValues = permitGeo.filter(q => !!q).map(elm => {
return {
id: elm.value,
name: elm.label,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment