@eeacms/volto-cca-policy 0.2.60 → 0.2.62
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,13 +4,22 @@ 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.62](https://github.com/eea/volto-cca-policy/compare/0.2.61...0.2.62) - 26 August 2024
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Add another location for expand for countries [Tiberiu Ichim - [`4454e35`](https://github.com/eea/volto-cca-policy/commit/4454e35f90417c8e7ec3e2332f5689ce57a1f200)]
|
|
12
|
+
### [0.2.61](https://github.com/eea/volto-cca-policy/compare/0.2.60...0.2.61) - 22 August 2024
|
|
13
|
+
|
|
14
|
+
#### :hammer_and_wrench: Others
|
|
15
|
+
|
|
16
|
+
- Remove console.log [Tiberiu Ichim - [`f6b6561`](https://github.com/eea/volto-cca-policy/commit/f6b65615ac46fa6a632fd0631ede4ea061151609)]
|
|
7
17
|
### [0.2.60](https://github.com/eea/volto-cca-policy/compare/0.2.59...0.2.60) - 19 August 2024
|
|
8
18
|
|
|
9
19
|
#### :hammer_and_wrench: Others
|
|
10
20
|
|
|
11
21
|
- Header row [Tiberiu Ichim - [`89be430`](https://github.com/eea/volto-cca-policy/commit/89be4302e461f9781e1ceda97e16b951e2d0dd08)]
|
|
12
22
|
- Add fake row to satisfy sonarqube [Tiberiu Ichim - [`0136dc5`](https://github.com/eea/volto-cca-policy/commit/0136dc537e7d887f30955b3520fe5d39ac33baea)]
|
|
13
|
-
- Use application/json for fetch [Tiberiu Ichim - [`ef539f8`](https://github.com/eea/volto-cca-policy/commit/ef539f8b32d64adfc435b68b75b83e6af5f3147c)]
|
|
14
23
|
### [0.2.59](https://github.com/eea/volto-cca-policy/compare/0.2.58...0.2.59) - 12 August 2024
|
|
15
24
|
|
|
16
25
|
### [0.2.58](https://github.com/eea/volto-cca-policy/compare/0.2.57...0.2.58) - 12 August 2024
|
package/package.json
CHANGED
|
@@ -48,26 +48,11 @@ export default function CountryTabPane(props) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
if (element.type === 'table') {
|
|
51
|
-
let _html_value = '';
|
|
52
|
-
for (let i = 0; i < element.value.length; i++) {
|
|
53
|
-
_html_value += element.value[i];
|
|
54
|
-
}
|
|
55
|
-
// return <table>{_html_value}</table>;
|
|
56
51
|
return (
|
|
57
|
-
<
|
|
58
|
-
<thead>
|
|
59
|
-
<tr>
|
|
60
|
-
<th>fake row to satisfy sonarqube</th>
|
|
61
|
-
</tr>
|
|
62
|
-
</thead>
|
|
63
|
-
<tbody>
|
|
64
|
-
<tr>
|
|
65
|
-
<td>fake row to satisfy sonarqube</td>
|
|
66
|
-
</tr>
|
|
67
|
-
</tbody>
|
|
68
|
-
</table>
|
|
52
|
+
<div dangerouslySetInnerHTML={{ __html: element.value }}></div>
|
|
69
53
|
);
|
|
70
54
|
}
|
|
55
|
+
|
|
71
56
|
if (element.type === 'div') {
|
|
72
57
|
let _html_value = '';
|
|
73
58
|
for (let i = 0; i < element.value.length; i++) {
|
package/src/index.js
CHANGED
|
@@ -417,7 +417,12 @@ const applyConfig = (config) => {
|
|
|
417
417
|
},
|
|
418
418
|
GET_CONTENT: ['siblings'],
|
|
419
419
|
},
|
|
420
|
-
|
|
420
|
+
{
|
|
421
|
+
match: {
|
|
422
|
+
path: /(.*)\/countries-regions\/countries\/(.*)/,
|
|
423
|
+
},
|
|
424
|
+
GET_CONTENT: ['siblings'],
|
|
425
|
+
},
|
|
421
426
|
{
|
|
422
427
|
match: '',
|
|
423
428
|
GET_CONTENT: ['navigation', 'breadcrumbs', 'actions'],
|