@eeacms/volto-cca-policy 0.1.80 → 0.1.81

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,11 @@ 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.1.81](https://github.com/eea/volto-cca-policy/compare/0.1.80...0.1.81) - 21 February 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Don't hide the section header [Tiberiu Ichim - [`f7d9ded`](https://github.com/eea/volto-cca-policy/commit/f7d9ded5932b8636d3f485e5184639f8d88f3d33)]
7
12
  ### [0.1.80](https://github.com/eea/volto-cca-policy/compare/0.1.79...0.1.80) - 21 February 2024
8
13
 
9
14
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
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",
@@ -230,24 +230,22 @@ const EEAHeader = (props) => {
230
230
  {item.title}
231
231
  </a>
232
232
  )}
233
- renderMenuItem={(item, options, props) =>
234
- options.className !== 'ui button inverted icon right labeled' && (
235
- <UniversalLink
236
- openLinkInNewTab={false}
237
- href={item.nonclickable ? null : item.url || '/'}
238
- title={item.nav_title || item.title}
239
- {...(options || {})}
240
- className={cx(options?.className, {
241
- active: item.url === router_pathname,
242
- 'item-nonclickable': item.nonclickable,
243
- })}
244
- >
245
- {props?.iconPosition !== 'right' && props?.children}
246
- <span>{item.nav_title || item.title}</span>
247
- {props?.iconPosition === 'right' && props?.children}
248
- </UniversalLink>
249
- )
250
- }
233
+ renderMenuItem={(item, options, props) => (
234
+ <UniversalLink
235
+ openLinkInNewTab={false}
236
+ href={item.nonclickable ? null : item.url || '/'}
237
+ title={item.nav_title || item.title}
238
+ {...(options || {})}
239
+ className={cx(options?.className, {
240
+ active: item.url === router_pathname,
241
+ 'item-nonclickable': item.nonclickable,
242
+ })}
243
+ >
244
+ {props?.iconPosition !== 'right' && props?.children}
245
+ <span>{item.nav_title || item.title}</span>
246
+ {props?.iconPosition === 'right' && props?.children}
247
+ </UniversalLink>
248
+ )}
251
249
  ></Header.Main>
252
250
  </Header>
253
251
  );