@eeacms/volto-cca-policy 0.2.76 → 0.2.78

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ 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
+ ### [0.2.78](https://github.com/eea/volto-cca-policy/compare/0.2.77...0.2.78) - 12 November 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Fix links in acecontent blocks [Tiberiu Ichim - [`93be4c9`](https://github.com/eea/volto-cca-policy/commit/93be4c97e840827574de9b7c70c00b7c96fed49d)]
12
+ ### [0.2.77](https://github.com/eea/volto-cca-policy/compare/0.2.76...0.2.77) - 7 November 2024
13
+
14
+ #### :house: Internal changes
15
+
16
+ - style: show language switcher on mission [kreafox - [`80dc085`](https://github.com/eea/volto-cca-policy/commit/80dc0855dd30f74868fd602167bb22dd6219baf6)]
17
+
7
18
  ### [0.2.76](https://github.com/eea/volto-cca-policy/compare/0.2.75...0.2.76) - 6 November 2024
8
19
 
9
20
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.76",
3
+ "version": "0.2.78",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -16,7 +16,7 @@ export default function RelevantAceContentEdit(props) {
16
16
  items.forEach((item, index) => {
17
17
  if (item.source?.length && !item.item_title) {
18
18
  item.item_title = item.source[0].title;
19
- item.link = item.source['@id'];
19
+ // item.link = item.source['@id'];
20
20
  forceRefresh(refresh + 1);
21
21
  }
22
22
  });
@@ -27,7 +27,9 @@ const RelevantAceContentView = (props) => {
27
27
  <ListItem key={index}>
28
28
  <ListIcon name="angle right" />
29
29
  <ListContent>
30
- <Link to={flattenToAppURL(item.link)}>{item.item_title}</Link>
30
+ <Link to={flattenToAppURL(item.source?.[0]?.['@id'] || '/')}>
31
+ {item.item_title}
32
+ </Link>
31
33
  </ListContent>
32
34
  </ListItem>
33
35
  ));
@@ -48,10 +48,6 @@ body.subsite-mkh {
48
48
  }
49
49
  }
50
50
 
51
- #language-switcher {
52
- display: none;
53
- }
54
-
55
51
  .subfooter .footer-description {
56
52
  margin-top: 3em;
57
53