@eeacms/volto-tableau 8.1.3 → 8.1.4

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,10 +4,17 @@ 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
- ### [8.1.3](https://github.com/eea/volto-tableau/compare/8.1.2...8.1.3) - 22 November 2024
7
+ ### [8.1.4](https://github.com/eea/volto-tableau/compare/8.1.3...8.1.4) - 8 April 2025
8
8
 
9
9
  #### :bug: Bug Fixes
10
10
 
11
+ - fix: preview image network access for infinite - refs #286675 [dobri1408 - [`f427993`](https://github.com/eea/volto-tableau/commit/f427993d1debdb7443d42b446598e26d635bbc24)]
12
+
13
+ ### [8.1.3](https://github.com/eea/volto-tableau/compare/8.1.2...8.1.3) - 28 November 2024
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - fix(upload): of files through contents modal where action.request.data is undefined #81 [Ichim David - [`e5f41f5`](https://github.com/eea/volto-tableau/commit/e5f41f57bc4001edf704b1e4b03d3416c3d8965f)]
11
18
  - fix(upload): of files through contents modal where action.request.data is undefined [David Ichim - [`80bfb8e`](https://github.com/eea/volto-tableau/commit/80bfb8efbde41488cd99eacb82e8a1dc85e98d3f)]
12
19
 
13
20
  ### [8.1.2](https://github.com/eea/volto-tableau/compare/8.1.1...8.1.2) - 14 November 2024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tableau",
3
- "version": "8.1.3",
3
+ "version": "8.1.4",
4
4
  "description": "@eeacms/volto-tableau: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -178,7 +178,12 @@ const VisualizationWidget = (props) => {
178
178
  .then((e) => e.blob())
179
179
  .then((myBlob) => {
180
180
  blobToBase64(myBlob).then((base64String) => {
181
- onChange(id, {
181
+ setValue({
182
+ ...value,
183
+ preview: base64String,
184
+ preview_url_loaded: value.url,
185
+ });
186
+ props.onChange(props.id, {
182
187
  ...value,
183
188
  preview: base64String,
184
189
  preview_url_loaded: value.url,
@@ -187,7 +192,7 @@ const VisualizationWidget = (props) => {
187
192
  })
188
193
  .catch(() => {});
189
194
  }
190
- }, [value, onChange, id]);
195
+ }, [props, value, onChange, id]);
191
196
 
192
197
  return (
193
198
  <FormFieldWrapper {...props}>