@eeacms/volto-eea-website-theme 3.5.2 → 3.5.3
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,12 @@ 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.5.3](https://github.com/eea/volto-eea-website-theme/compare/3.5.2...3.5.3) - 17 January 2025
|
8
|
+
|
9
|
+
#### :bug: Bug Fixes
|
10
|
+
|
11
|
+
- fix(navigationBlock): (bbb) use blockHasValue only for report_navigation variation [nileshgulia1 - [`e16ff9d`](https://github.com/eea/volto-eea-website-theme/commit/e16ff9d4d9ff2248b56a51503628ddc48842ea65)]
|
12
|
+
|
7
13
|
### [3.5.2](https://github.com/eea/volto-eea-website-theme/compare/3.5.1...3.5.2) - 8 January 2025
|
8
14
|
|
9
15
|
#### :nail_care: Enhancements
|
package/package.json
CHANGED
@@ -17,7 +17,11 @@ const applyConfig = (config) => {
|
|
17
17
|
variations,
|
18
18
|
mostUsed: false,
|
19
19
|
blockHasValue: (blockData) => {
|
20
|
-
|
20
|
+
const { variation } = blockData;
|
21
|
+
if (variation && variation === 'report_navigation') {
|
22
|
+
return blockData.results ?? false;
|
23
|
+
}
|
24
|
+
return true; //default behavior
|
21
25
|
},
|
22
26
|
blockHasOwnFocusManagement: true,
|
23
27
|
sidebarTab: 1,
|