Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Fixes10290 complete iso contact roles #1360

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.5
4.0.6
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,12 @@ function DetailsPanel({
];



const extraItemsList = [
{
"label": "Point of Contact",
"value": <a href={`/messages/create/${resource?.poc?.pk}/`}> {(resource?.poc?.first_name !== "" && resource?.poc?.last_name !== "" ) ? (resource?.poc?.first_name + " " + resource?.poc?.last_name) : resource?.poc?.username} </a>
"value": resource?.poc.map(poc => <a href={`/messages/create/${poc.pk}/`}> {(poc.first_name !== "" && poc.last_name !== "") ? (poc.first_name + " " + poc.last_name) : poc.username} </a>).reduce((prev, curr) => [prev, ', ', curr])
},
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too many closing braces

{
"label": "License",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-geonode-mapstore-client
version = 4.0.5
version = 4.0.6
description = Use GeoNode client in your django projects
author = Alessio Fabiani
author_email = alessio.fabiani@geo-solutions.it
Expand Down