@eeacms/volto-clms-theme 1.1.22 → 1.1.23

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,12 +4,16 @@ 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.23](https://github.com/eea/volto-clms-theme/compare/1.1.22...1.1.23) - 12 July 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - show collections always [Mikel Larreategi - [`442d2d9`](https://github.com/eea/volto-clms-theme/commit/442d2d9eeb1bba511401b643b21a019b62580709)]
7
12
  ### [1.1.22](https://github.com/eea/volto-clms-theme/compare/1.1.21...1.1.22) - 10 July 2023
8
13
 
9
14
  #### :hammer_and_wrench: Others
10
15
 
11
16
  - unneeded condition [ionlizarazu - [`da81a9c`](https://github.com/eea/volto-clms-theme/commit/da81a9c622d27b4e2706e1fd889e08070a5d3f25)]
12
- - activeIndex FAQs block [ionlizarazu - [`b550819`](https://github.com/eea/volto-clms-theme/commit/b5508199ded2aa61b1c8f52da7fd49cb6cad59b1)]
13
17
  ### [1.1.21](https://github.com/eea/volto-clms-theme/compare/1.1.20...1.1.21) - 5 July 2023
14
18
 
15
19
  ### [1.1.20](https://github.com/eea/volto-clms-theme/compare/1.1.19...1.1.20) - 5 July 2023
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -222,7 +222,6 @@ const CLMSCartContent = (props) => {
222
222
  setCartItems([...cartItems]);
223
223
  };
224
224
 
225
- const hascollection = (collection) => collection.value > 0;
226
225
  const ref = React.useRef();
227
226
 
228
227
  const handleScroll = (ref) => {
@@ -313,11 +312,11 @@ const CLMSCartContent = (props) => {
313
312
  <div className="mb-2">
314
313
  <strong>Type: </strong>
315
314
  </div>
316
- {item?.type_options?.some(hascollection) && (
317
- <div className="mb-2">
318
- <strong>Collection: </strong>
319
- </div>
320
- )}
315
+
316
+ <div className="mb-2">
317
+ <strong>Collection: </strong>
318
+ </div>
319
+
321
320
  <div className="mb-2">
322
321
  <strong>Format: </strong>
323
322
  </div>
@@ -336,16 +335,16 @@ const CLMSCartContent = (props) => {
336
335
  setCartItems={setCartItems}
337
336
  />
338
337
  </div>
339
- {item?.type_options?.some(hascollection) && (
340
- <div className="mb-2">
341
- <CollectionNaming
342
- item={item}
343
- datasets_items={datasets_items}
344
- cartItems={cartItems}
345
- setCartItems={setCartItems}
346
- />
347
- </div>
348
- )}
338
+
339
+ <div className="mb-2">
340
+ <CollectionNaming
341
+ item={item}
342
+ datasets_items={datasets_items}
343
+ cartItems={cartItems}
344
+ setCartItems={setCartItems}
345
+ />
346
+ </div>
347
+
349
348
  <div className="mb-2">
350
349
  {formatConversionTable && item && (
351
350
  <FormatNaming