Skip to content

Commit

Permalink
prettier and update JENKINS VOLTO #
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Dec 16, 2022
1 parent 36bf8ef commit 021f4e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pipeline {
NAMESPACE = "@eeacms"
SONARQUBE_TAGS = "volto.eea.europa.eu,climate-energy.eea.europa.eu"
DEPENDENCIES = "@eeacms/volto-plotlycharts"
VOLTO = "alpha"
VOLTO = "15.5.0"
}

stages {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ const messages = defineMessages({
});

const RouterLink = ({ item }) => {
const url = (item?.url || item?.['@id']) && (item?.url || item?.['@id'])
.replace(config.settings.apiPath, '')
.replace(config.settings.internalApiPath, '');
const url =
(item?.url || item?.['@id']) &&
(item?.url || item?.['@id'])
.replace(config.settings.apiPath, '')
.replace(config.settings.internalApiPath, '');
return (
<Link title={item.title} to={url} className="section">
{item.title}
Expand Down

0 comments on commit 021f4e7

Please sign in to comment.