@eeacms/volto-cca-policy 0.3.112 → 0.3.113

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.113](https://github.com/eea/volto-cca-policy/compare/0.3.112...0.3.113) - 15 April 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: rendering ImageUploadWidget based on widget type [kreafox - [`e3c2f41`](https://github.com/eea/volto-cca-policy/commit/e3c2f415548f6243f073db24318a18c529ae2413)]
12
+
7
13
  ### [0.3.112](https://github.com/eea/volto-cca-policy/compare/0.3.111...0.3.112) - 14 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.112",
3
+ "version": "0.3.113",
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",
@@ -484,7 +484,7 @@ const UnconnectedImageInput = (props) => {
484
484
  export const ImageInput = withObjectBrowser(UnconnectedImageInput);
485
485
 
486
486
  const ImageUploadWidget = (props) => {
487
- if (props.block) {
487
+ if (props.block && props.widget === 'attachedimage') {
488
488
  let sanitizedProps = { ...props };
489
489
  if (typeof props.value === 'object' && props.value !== null) {
490
490
  if (props.value.download) {