@eeacms/volto-datahub 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.js CHANGED
@@ -16,16 +16,16 @@ if (configFile) {
16
16
  voltoPath = `./${jsConfig.baseUrl}/${pathsConfig['@plone/volto'][0]}`;
17
17
  }
18
18
 
19
- const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
20
- const reg = new AddonConfigurationRegistry(projectRootPath);
19
+ const { AddonRegistry } = require('@plone/registry/addon-registry');
20
+ const { registry } = AddonRegistry.init(projectRootPath);
21
21
 
22
22
  // Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
23
- const addonAliases = Object.keys(reg.packages).map((o) => [
23
+ const addonAliases = Object.keys(registry.packages).map((o) => [
24
24
  o,
25
- reg.packages[o].modulePath,
25
+ registry.packages[o].modulePath,
26
26
  ]);
27
27
 
28
- const addonExtenders = reg.getEslintExtenders().map((m) => require(m));
28
+ const addonExtenders = registry.getEslintExtenders().map((m) => require(m));
29
29
 
30
30
  const defaultConfig = {
31
31
  extends: `${voltoPath}/.eslintrc`,
@@ -34,7 +34,7 @@ const defaultConfig = {
34
34
  alias: {
35
35
  map: [
36
36
  ['@plone/volto', '@plone/volto/src'],
37
- ['@plone/volto-slate', '@plone/volto/packages/volto-slate/src'],
37
+ ['@plone/volto-slate', '@plone/volto-slate/src'],
38
38
  ...addonAliases,
39
39
  ['@package', `${__dirname}/src`],
40
40
  ['@root', `${__dirname}/src`],
@@ -48,6 +48,7 @@ const defaultConfig = {
48
48
  },
49
49
  },
50
50
  rules: {
51
+ 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
51
52
  'react/jsx-no-target-blank': [
52
53
  'error',
53
54
  {
package/CHANGELOG.md CHANGED
@@ -4,7 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [3.0.0](https://github.com/eea/volto-datahub/compare/2.0.5...3.0.0) - 25 March 2026
7
+ ### [3.0.2](https://github.com/eea/volto-datahub/compare/3.0.1...3.0.2) - 12 May 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - fixed EEA_DATAHUB location [Zoltan Szabo - [`705c3ff`](https://github.com/eea/volto-datahub/commit/705c3ff1d55db4a0e14bbb22121e2fa1162bfee3)]
12
+ ### [3.0.1](https://github.com/eea/volto-datahub/compare/3.0.0...3.0.1) - 9 April 2026
13
+
14
+ #### :bug: Bug Fixes
15
+
16
+ - fix: make test [Alin V. (Claudiu) - [`efd16b0`](https://github.com/eea/volto-datahub/commit/efd16b0d63c5ca93f3e57c1a679eaa2e31de2c28)]
17
+
18
+ ## [3.0.0](https://github.com/eea/volto-datahub/compare/2.0.5...3.0.0) - 25 March 2026
8
19
 
9
20
  #### :rocket: New Features
10
21
 
@@ -12,6 +23,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
23
 
13
24
  #### :house: Internal changes
14
25
 
26
+ - chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`5e7b692`](https://github.com/eea/volto-datahub/commit/5e7b6923049dab3df919a00b01de13a4c55d1035)]
27
+ - chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`7e8048c`](https://github.com/eea/volto-datahub/commit/7e8048cec178e5efc73e30b30ef77f5f79e7f2ac)]
15
28
 
16
29
  #### :hammer_and_wrench: Others
17
30
 
@@ -70,6 +83,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
70
83
 
71
84
  #### :house: Internal changes
72
85
 
86
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`8438e52`](https://github.com/eea/volto-datahub/commit/8438e52e811c46aa542a601b75f4198b214b5ffd)]
73
87
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`da129fb`](https://github.com/eea/volto-datahub/commit/da129fb1259a26c87259f380a37db688281b192d)]
74
88
 
75
89
  #### :hammer_and_wrench: Others
@@ -79,6 +93,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
79
93
  - remove eslint file from ignoring [Teodor - [`39f6633`](https://github.com/eea/volto-datahub/commit/39f66338f2f7d1797343b88aa20dea9425f37014)]
80
94
  - change eslint rule [Teodor - [`73e4bc2`](https://github.com/eea/volto-datahub/commit/73e4bc217e9aa9804f0f57cf9e3488cb2e1e85b8)]
81
95
  - Ref #263008 [Teodor - [`9d58c52`](https://github.com/eea/volto-datahub/commit/9d58c52b6bc207c5c622c0428be39ae18875cf64)]
96
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`524fcc6`](https://github.com/eea/volto-datahub/commit/524fcc6a40e1437dac449543607089b4ba4feb21)]
97
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`98c01ac`](https://github.com/eea/volto-datahub/commit/98c01ac599087cf5a9011d3384483d023a4d12bb)]
98
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`bdcc59c`](https://github.com/eea/volto-datahub/commit/bdcc59c2d4cfd8beba4386d6f23f220c777f0513)]
99
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`5d12d14`](https://github.com/eea/volto-datahub/commit/5d12d1428a547b8628231dc38110a55b806edebb)]
100
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`dba984e`](https://github.com/eea/volto-datahub/commit/dba984e6b840c451b8de15d40de0e49c1dd09a9b)]
82
101
  ### [1.0.32](https://github.com/eea/volto-datahub/compare/1.0.31...1.0.32) - 11 October 2023
83
102
 
84
103
  #### :house: Internal changes
@@ -124,6 +143,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
124
143
  - Fix content type for rss feed [Tiberiu Ichim - [`65b73a7`](https://github.com/eea/volto-datahub/commit/65b73a79d73e626f652716305e80d9a2b017c85c)]
125
144
  - test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`ead1c04`](https://github.com/eea/volto-datahub/commit/ead1c042d1358b385c19ec66ec84d7c736574b1d)]
126
145
  - Added 'DOI' links to datahub [Zoltan Szabo - [`b33a657`](https://github.com/eea/volto-datahub/commit/b33a657096eaec4caa641379e69e941a3b2c1583)]
146
+ - test: Fix eslint and yarn i18n [Alin Voinea - [`39a4a69`](https://github.com/eea/volto-datahub/commit/39a4a695733514890075886753b9d7b91d853646)]
127
147
  - i18n: Add en [Alin Voinea - [`cdb303f`](https://github.com/eea/volto-datahub/commit/cdb303f2ac5e1f9eb22eda46bb58087c62af6ba5)]
128
148
  ### [1.0.27](https://github.com/eea/volto-datahub/compare/1.0.26...1.0.27) - 25 August 2023
129
149
 
@@ -171,6 +191,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
171
191
 
172
192
  #### :house: Internal changes
173
193
 
194
+ - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`e5933ce`](https://github.com/eea/volto-datahub/commit/e5933ce8879d98aabe0bab56980dbd50ce856a36)]
174
195
 
175
196
  #### :hammer_and_wrench: Others
176
197
 
@@ -225,6 +246,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
225
246
  - added utils.js [Zoltan Szabo - [`fdb33c3`](https://github.com/eea/volto-datahub/commit/fdb33c37e1af2fe071dbe8f4f5dcd2b82932edc8)]
226
247
  - Show 'Obsolete' info in the metadata section in the banner [Zoltan Szabo - [`fddfd2a`](https://github.com/eea/volto-datahub/commit/fddfd2aea63d1a1d1567c163ab29dd7119781117)]
227
248
  - Show 'More information' section only if it's not empty [Zoltan Szabo - [`612f035`](https://github.com/eea/volto-datahub/commit/612f03509c6adf143631ae6dee5ca2bd48a501c3)]
249
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b9100f6`](https://github.com/eea/volto-datahub/commit/b9100f6b2b2e9e9a26b9c11708c8fda94137cecc)]
228
250
  ### [1.0.15](https://github.com/eea/volto-datahub/compare/1.0.14...1.0.15) - 1 March 2023
229
251
 
230
252
  ### [1.0.14](https://github.com/eea/volto-datahub/compare/1.0.13...1.0.14) - 1 March 2023
@@ -317,9 +339,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
317
339
  #### :hammer_and_wrench: Others
318
340
 
319
341
  - Fix eslintrc: add @eeacms/search [kreafox - [`465816f`](https://github.com/eea/volto-datahub/commit/465816feb8f58095ab4b5b3168cd29ebede3a10c)]
342
+ - Use latest Volto before yarn 3 [Tiberiu Ichim - [`69f5859`](https://github.com/eea/volto-datahub/commit/69f585980fd9a38ff99d0c7875704671857720f7)]
320
343
  - Reorder sections on landing page [kreafox - [`46fac8d`](https://github.com/eea/volto-datahub/commit/46fac8d821cf93fe1b2c380380719de130c3f1cb)]
321
344
  - Fix project eslintrc [kreafox - [`5baa150`](https://github.com/eea/volto-datahub/commit/5baa1505ec38ed313269f5608c186c6a6a8bbfc4)]
322
345
  - Open dataset links in new tab [kreafox - [`bbed914`](https://github.com/eea/volto-datahub/commit/bbed914dc2edf6c749d1d73d93a423bc642e680c)]
346
+ - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`380a2a9`](https://github.com/eea/volto-datahub/commit/380a2a9625c6f799df7a7c343fad3f3b3d959f96)]
323
347
  ## [1.0.0](https://github.com/eea/volto-datahub/compare/0.1.12...1.0.0) - 28 October 2022
324
348
 
325
349
  #### :nail_care: Enhancements
@@ -344,6 +368,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
344
368
  #### :hammer_and_wrench: Others
345
369
 
346
370
  - fixed query for related items [Zoltan Szabo - [`b66faee`](https://github.com/eea/volto-datahub/commit/b66faee1f8a1922cd22b3a36eccc9c7b92e377d4)]
371
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`158fe1a`](https://github.com/eea/volto-datahub/commit/158fe1a0b1767452e2e51a3e2ef97169589a50e8)]
347
372
  ### [0.1.10](https://github.com/eea/volto-datahub/compare/0.1.9...0.1.10) - 21 September 2022
348
373
 
349
374
  #### :hammer_and_wrench: Others
@@ -432,6 +457,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
432
457
  #### :hammer_and_wrench: Others
433
458
 
434
459
  - Hide questions & fix landing page [kreafox - [`a1ef303`](https://github.com/eea/volto-datahub/commit/a1ef3033df0e84f3a72dd0f984c8717dff2a771c)]
460
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`910688e`](https://github.com/eea/volto-datahub/commit/910688e3ddf2f8cda4f941595ae9a6ee0ec0ea3b)]
435
461
  ### [0.1.1](https://github.com/eea/volto-datahub/compare/0.1.0...0.1.1) - 10 June 2022
436
462
 
437
463
  ### [0.1.0](https://github.com/eea/volto-datahub/compare/0.0.1...0.1.0) - 9 June 2022
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-datahub",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "@eeacms/volto-datahub: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -1,9 +1,9 @@
1
1
  import { List } from 'semantic-ui-react';
2
- import { SVGIcon } from '../utils.js';
2
+ import { SVGIcon } from '@eeacms/volto-datahub/components/ItemView/utils.js';
3
3
 
4
4
  import lockSVG from 'remixicon/icons/System/lock-line.svg';
5
5
  import { isInternalURL } from '@eeacms/volto-datahub/utils';
6
- import servicesSVG from '../icons/services.svg';
6
+ import servicesSVG from '@eeacms/volto-datahub/components/ItemView/icons/services.svg';
7
7
 
8
8
  const ItemLink = ({ item }) => (
9
9
  <List.Item key={item.id}>
@@ -1,6 +1,6 @@
1
1
  import { Icon, List } from 'semantic-ui-react';
2
2
  import { isInternalURL } from '@eeacms/volto-datahub/utils';
3
- import { SVGIcon } from '../utils.js';
3
+ import { SVGIcon } from '@eeacms/volto-datahub/components/ItemView/utils.js';
4
4
 
5
5
  import lockSVG from 'remixicon/icons/System/lock-line.svg';
6
6
 
@@ -6,7 +6,7 @@ import { useLocation, useHistory } from 'react-router-dom';
6
6
  import { DateTime } from '@eeacms/search';
7
7
  import { AccordionFilter } from '@eeacms/volto-accordion-block/components';
8
8
 
9
- import { SVGIcon } from '../utils.js';
9
+ import { SVGIcon } from '@eeacms/volto-datahub/components/ItemView/utils.js';
10
10
  import DatasetItemDownloadList from './DatasetItemDownloadList';
11
11
  import { isInternal, isObsolete } from '@eeacms/volto-datahub/utils';
12
12
 
@@ -144,122 +144,120 @@ const DatasetItemsList = (props) => {
144
144
  const archived = isObsolete(dataset.cl_status);
145
145
  const active = isActive(id);
146
146
  return (
147
- <>
148
- <Accordion id={id} key={index}>
149
- <Accordion.Title
150
- role="button"
151
- tabIndex={0}
152
- active={active}
153
- aria-expanded={active}
154
- index={index}
155
- onClick={(e) => handleClick(e, { index, id, item })}
156
- onKeyDown={(e) => {
157
- if (e.keyCode === 13 || e.keyCode === 32) {
158
- e.preventDefault();
159
- handleClick(e, { index, id, item });
160
- }
161
- }}
162
- >
163
- <span className="dataset-title">
164
- {dataset.resourceTitleObject.default}
165
- <span className="formats">
166
- {(dataset.format || [])
167
- .filter((item, pos, self) => self.indexOf(item) === pos)
168
- .map((item, i) => {
169
- return (
170
- <span className="dh-label" key={i}>
171
- {item}
172
- </span>
173
- );
174
- })}
147
+ <Accordion id={id} key={id ?? index}>
148
+ <Accordion.Title
149
+ role="button"
150
+ tabIndex={0}
151
+ active={active}
152
+ aria-expanded={active}
153
+ index={index}
154
+ onClick={(e) => handleClick(e, { index, id, item })}
155
+ onKeyDown={(e) => {
156
+ if (e.keyCode === 13 || e.keyCode === 32) {
157
+ e.preventDefault();
158
+ handleClick(e, { index, id, item });
159
+ }
160
+ }}
161
+ >
162
+ <span className="dataset-title">
163
+ {dataset.resourceTitleObject.default}
164
+ <span className="formats">
165
+ {(dataset.format || [])
166
+ .filter((item, pos, self) => self.indexOf(item) === pos)
167
+ .map((item, i) => {
168
+ return (
169
+ <span className="dh-label" key={i}>
170
+ {item}
171
+ </span>
172
+ );
173
+ })}
175
174
 
176
- {Array.isArray(dataset.linkProtocol) ? (
177
- <>
178
- {dataset.linkProtocol
179
- .filter(
180
- (i) => i.includes('ESRI') || i.includes('OGC'),
181
- )
182
- .filter(
183
- (item, pos, self) => self.indexOf(item) === pos,
184
- )
185
- .map((item, i) => {
186
- return (
187
- <span className="dh-label" key={i}>
188
- {item}
189
- </span>
190
- );
191
- })}
192
- </>
193
- ) : (
194
- <>
195
- {['ESRI', 'OGC'].includes(dataset.linkProtocol) && (
196
- <span className="dh-label">
197
- {dataset.linkProtocol}
198
- </span>
199
- )}
200
- </>
201
- )}
175
+ {Array.isArray(dataset.linkProtocol) ? (
176
+ <>
177
+ {dataset.linkProtocol
178
+ .filter(
179
+ (i) => i.includes('ESRI') || i.includes('OGC'),
180
+ )
181
+ .filter(
182
+ (item, pos, self) => self.indexOf(item) === pos,
183
+ )
184
+ .map((item, i) => {
185
+ return (
186
+ <span className="dh-label" key={i}>
187
+ {item}
188
+ </span>
189
+ );
190
+ })}
191
+ </>
192
+ ) : (
193
+ <>
194
+ {['ESRI', 'OGC'].includes(dataset.linkProtocol) && (
195
+ <span className="dh-label">
196
+ {dataset.linkProtocol}
197
+ </span>
198
+ )}
199
+ </>
200
+ )}
202
201
 
203
- {archived && (
204
- <span className="dh-label inverted">Superseded</span>
205
- )}
202
+ {archived && (
203
+ <span className="dh-label inverted">Superseded</span>
204
+ )}
206
205
 
207
- {isInternal(dataset) && (
208
- <SVGIcon name={lockSVG} size="18" />
209
- )}
210
- </span>
206
+ {isInternal(dataset) && (
207
+ <SVGIcon name={lockSVG} size="18" />
208
+ )}
211
209
  </span>
212
- {active ? (
213
- <Icon className="ri-arrow-up-s-line" />
214
- ) : (
215
- <Icon className="ri-arrow-down-s-line" />
216
- )}
217
- </Accordion.Title>
218
- <Accordion.Content active={active}>
219
- <div className="dataset-content">
220
- <div>
221
- {publicationDateForResource && (
210
+ </span>
211
+ {active ? (
212
+ <Icon className="ri-arrow-up-s-line" />
213
+ ) : (
214
+ <Icon className="ri-arrow-down-s-line" />
215
+ )}
216
+ </Accordion.Title>
217
+ <Accordion.Content active={active}>
218
+ <div className="dataset-content">
219
+ <div>
220
+ {publicationDateForResource && (
221
+ <div>
222
+ <strong>Published: </strong>
223
+ <DateTime
224
+ format="DATE_MED"
225
+ value={publicationDateForResource}
226
+ />
227
+ </div>
228
+ )}
229
+
230
+ {resourceTemporalExtentDetails &&
231
+ resourceTemporalExtentDetails?.length > 0 && (
222
232
  <div>
223
- <strong>Published: </strong>
224
- <DateTime
225
- format="DATE_MED"
226
- value={publicationDateForResource}
227
- />
233
+ <strong>Temporal coverage: </strong>
234
+ {temporalDateRange}
228
235
  </div>
229
236
  )}
237
+ </div>
230
238
 
231
- {resourceTemporalExtentDetails &&
232
- resourceTemporalExtentDetails?.length > 0 && (
233
- <div>
234
- <strong>Temporal coverage: </strong>
235
- {temporalDateRange}
236
- </div>
237
- )}
238
- </div>
239
-
240
- <div className="dataset-pdf">
241
- <div className="d-link">
242
- <Icon className="file pdf" />
243
- <a
244
- target="_blank"
245
- rel="noreferrer"
246
- href={
247
- `${appConfig.indexBaseUrl}/catalogue/datahub/api/records/` +
248
- `${dataset.metadataIdentifier}/formatters/xsl-view?output=pdf&language=eng&approved=true`
249
- }
250
- >
251
- Metadata Factsheet
252
- </a>
253
- </div>
239
+ <div className="dataset-pdf">
240
+ <div className="d-link">
241
+ <Icon className="file pdf" />
242
+ <a
243
+ target="_blank"
244
+ rel="noreferrer"
245
+ href={
246
+ `${appConfig.indexBaseUrl}/catalogue/datahub/api/records/` +
247
+ `${dataset.metadataIdentifier}/formatters/xsl-view?output=pdf&language=eng&approved=true`
248
+ }
249
+ >
250
+ Metadata Factsheet
251
+ </a>
254
252
  </div>
255
253
  </div>
254
+ </div>
256
255
 
257
- {!!dataset.link && dataset.link.length > 0 && (
258
- <DatasetItemDownloadList link={dataset.link} />
259
- )}
260
- </Accordion.Content>
261
- </Accordion>
262
- </>
256
+ {!!dataset.link && dataset.link.length > 0 && (
257
+ <DatasetItemDownloadList link={dataset.link} />
258
+ )}
259
+ </Accordion.Content>
260
+ </Accordion>
263
261
  );
264
262
  })}
265
263
  </>
@@ -1,5 +1,5 @@
1
1
  import { Icon, List } from 'semantic-ui-react';
2
- import { SVGIcon } from '../utils.js';
2
+ import { SVGIcon } from '@eeacms/volto-datahub/components/ItemView/utils.js';
3
3
 
4
4
  import lockSVG from 'remixicon/icons/System/lock-line.svg';
5
5
  import { isInternalURL } from '@eeacms/volto-datahub/utils';
@@ -1,5 +1,5 @@
1
1
  import { Icon, List } from 'semantic-ui-react';
2
- import { SVGIcon } from '../utils.js';
2
+ import { SVGIcon } from '@eeacms/volto-datahub/components/ItemView/utils.js';
3
3
 
4
4
  import lockSVG from 'remixicon/icons/System/lock-line.svg';
5
5
  import { isInternalURL } from '@eeacms/volto-datahub/utils';
@@ -3,11 +3,15 @@ import { Portal } from 'react-portal';
3
3
  import { useDispatch, useSelector } from 'react-redux';
4
4
  import { Link, useLocation } from 'react-router-dom';
5
5
  import { Container, Icon, Button, Popup } from 'semantic-ui-react';
6
- import { Toolbar, ErrorBoundary } from '@plone/volto/components';
7
- import { BodyClass, asyncConnect, Helmet } from '@plone/volto/helpers';
6
+ import Toolbar from '@plone/volto/components/manage/Toolbar/Toolbar';
7
+ import ErrorBoundary from '@plone/volto/components/theme/Error/ErrorBoundary';
8
+ import BodyClass from '@plone/volto/helpers/BodyClass/BodyClass';
9
+ import Helmet from '@plone/volto/helpers/Helmet/Helmet';
10
+ import { asyncConnect } from '@plone/volto/helpers/AsyncConnect';
8
11
  import config from '@plone/volto/registry';
9
12
  import { rebind, applyConfigurationSchema } from '@eeacms/search';
10
- import { Callout, Banner } from '@eeacms/volto-eea-design-system/ui';
13
+ import Callout from '@eeacms/volto-eea-design-system/ui/Callout/Callout';
14
+ import Banner from '@eeacms/volto-eea-design-system/ui/Banner/Banner';
11
15
  import { defineMessages, useIntl } from 'react-intl';
12
16
  import {
13
17
  MoreLikeThis,
@@ -188,7 +192,9 @@ function ItemView(props) {
188
192
  <Banner.Title>{title?.raw}</Banner.Title>
189
193
  {/* <Banner.MetadataField label="Prod-ID" value={prodID} /> */}
190
194
  <Banner.Metadata>
191
- {obsolete && <div class="ui label archived-item">Archived</div>}
195
+ {obsolete && (
196
+ <div className="ui label archived-item">Archived</div>
197
+ )}
192
198
  {prodID && (
193
199
  <>
194
200
  {prodID.length > PROD_ID_COUNT ? (
@@ -4,7 +4,7 @@ import views from './views';
4
4
  import filters from './filters';
5
5
  import vocabs from './vocabulary';
6
6
 
7
- import DatahubLandingPage from '../components/LandingPage/DatahubLandingPage';
7
+ import DatahubLandingPage from '@eeacms/volto-datahub/components/LandingPage/DatahubLandingPage';
8
8
 
9
9
  const datahubConfig = {
10
10
  title: 'Datahub',
@@ -12,7 +12,7 @@ import {
12
12
  redirectRouteId,
13
13
  } from '@eeacms/volto-datahub/constants';
14
14
 
15
- const EEA_DATAHUB = `https://eea.europa.eu/en/datahub`;
15
+ const EEA_DATAHUB = `https://www.eea.europa.eu/en/datahub`;
16
16
 
17
17
  const getUrlES = (appName) => {
18
18
  return (