@eeacms/volto-cca-policy 0.3.119 → 0.3.120

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
+ ### [0.3.120](https://github.com/eea/volto-cca-policy/compare/0.3.119...0.3.120) - 30 April 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: hide ArchivedVersionListing for archived indicators in DatabaseItemView [kreafox - [`ff7bd0a`](https://github.com/eea/volto-cca-policy/commit/ff7bd0aab3b5facd2ebfba3bd46fd089e0a9fe8f)]
12
+
7
13
  ### [0.3.119](https://github.com/eea/volto-cca-policy/compare/0.3.118...0.3.119) - 30 April 2026
8
14
 
9
15
  #### :rocket: New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.119",
3
+ "version": "0.3.120",
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",
@@ -299,7 +299,9 @@ const DatabaseItemView = (props) => {
299
299
  )}
300
300
  </Grid>
301
301
 
302
- {type === INDICATOR && <ArchivedVersionListing content={content} />}
302
+ {type === INDICATOR && content?.review_state !== 'archived' && (
303
+ <ArchivedVersionListing content={content} />
304
+ )}
303
305
  </Container>
304
306
  </div>
305
307
  );