Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
f5168cb4
Commit
f5168cb4
authored
May 29, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avaliability UI remove fix
parent
23a8e128
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
avaliability.js
src/views/assets/projectassets/card/avaliability.js
+4
-2
No files found.
src/views/assets/projectassets/card/avaliability.js
View file @
f5168cb4
...
@@ -118,7 +118,7 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
...
@@ -118,7 +118,7 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
})
})
let
coValues
let
coValues
if
(
actionValue
===
'permit'
)
{
if
(
actionValue
===
'permit'
)
{
coValues
=
denytGeo
.
map
(
elm
=>
{
coValues
=
denytGeo
.
filter
(
q
=>
!!
q
).
map
(
elm
=>
{
return
{
return
{
id
:
elm
.
value
,
id
:
elm
.
value
,
name
:
elm
.
label
,
name
:
elm
.
label
,
...
@@ -129,8 +129,10 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
...
@@ -129,8 +129,10 @@ const PlanAvaliability = ({dataElement, handleElmChange}) => {
}
}
}
}
})
})
}
else
{
}
else
{
coValues
=
permitGeo
.
map
(
elm
=>
{
console
.
log
(
permitGeo
)
coValues
=
permitGeo
.
filter
(
q
=>
!!
q
).
map
(
elm
=>
{
return
{
return
{
id
:
elm
.
value
,
id
:
elm
.
value
,
name
:
elm
.
label
,
name
:
elm
.
label
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment