@eeacms/volto-clms-theme 1.1.64 → 1.1.65
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,11 +4,14 @@ 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
|
-
### [1.1.
|
|
7
|
+
### [1.1.65](https://github.com/eea/volto-clms-theme/compare/1.1.64...1.1.65) - 19 October 2023
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: force open also the first accordion of a subtab in the FAQ block [Ion Lizarazu - [`42f73da`](https://github.com/eea/volto-clms-theme/commit/42f73dac1794df5622f82a75978ceea2ecccdd3e)]
|
|
12
|
+
|
|
13
|
+
### [1.1.64](https://github.com/eea/volto-clms-theme/compare/1.1.63...1.1.64) - 19 October 2023
|
|
10
14
|
|
|
11
|
-
- styling of videos [Mikel Larreategi - [`1724985`](https://github.com/eea/volto-clms-theme/commit/172498528b8d9e6ed6f2b8a3cddca7a0d43034fa)]
|
|
12
15
|
### [1.1.63](https://github.com/eea/volto-clms-theme/compare/1.1.62...1.1.63) - 19 October 2023
|
|
13
16
|
|
|
14
17
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -57,6 +57,13 @@ const CclFAQBlockView = (props) => {
|
|
|
57
57
|
if (i.items.length > 0) {
|
|
58
58
|
indexes.push(i.items[0].normalized_id);
|
|
59
59
|
}
|
|
60
|
+
if (i.type === 'document') {
|
|
61
|
+
i.items.forEach((i_i) => {
|
|
62
|
+
if (i_i.items.length > 0) {
|
|
63
|
+
indexes.push(i_i.items[0].normalized_id);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
60
67
|
});
|
|
61
68
|
setActiveIndex(indexes);
|
|
62
69
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|