@eeacms/volto-eea-website-policy 2.2.1 → 2.2.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/CHANGELOG.md CHANGED
@@ -4,6 +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
+ ### [2.2.2](https://github.com/eea/volto-eea-website-policy/compare/2.2.1...2.2.2) - 28 August 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(contextNav): pass correct mode to differntiate edit and view [nileshgulia1 - [`da72e69`](https://github.com/eea/volto-eea-website-policy/commit/da72e69092a74588309680d459e7b69243ec0ca2)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2703b09`](https://github.com/eea/volto-eea-website-policy/commit/2703b09f3803fa058b45f3f55c5343ab548139a1)]
16
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2506307`](https://github.com/eea/volto-eea-website-policy/commit/2506307c355c2de50a40b76a6c09ac1989d11be1)]
17
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`48999a4`](https://github.com/eea/volto-eea-website-policy/commit/48999a4a5a16593ca90981a72a4606abc4a02e89)]
18
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`de57cc0`](https://github.com/eea/volto-eea-website-policy/commit/de57cc0093cec55cf372fe4beb610f77588b4bb3)]
7
19
  ### [2.2.1](https://github.com/eea/volto-eea-website-policy/compare/2.2.0...2.2.1) - 27 August 2024
8
20
 
9
21
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -20,7 +20,7 @@ const ContextNavigationFillEdit = (props) => {
20
20
  return (
21
21
  <>
22
22
  <h3>Context navigation</h3>
23
- <ContextNavigationView {...props} />{' '}
23
+ <ContextNavigationView {...props} mode="edit" />{' '}
24
24
  <SidebarPortal selected={props.selected}>
25
25
  <BlockDataForm
26
26
  schema={schema}
@@ -8,7 +8,7 @@ const ContextNavigationView = (props = {}) => {
8
8
  const root_path = data?.root_node?.[0]?.['@id'];
9
9
  if (root_path) navProps['root_path'] = flattenToAppURL(root_path);
10
10
  const Renderer = variation?.view ?? DefaultTemplate;
11
- return <Renderer params={navProps} />;
11
+ return <Renderer params={navProps} mode={props.mode} />;
12
12
  };
13
13
 
14
14
  export default withBlockExtensions(ContextNavigationView);