@eeacms/volto-eea-map 5.0.5 → 5.0.7
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,11 +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
|
-
### [5.0.
|
|
7
|
+
### [5.0.7](https://github.com/eea/volto-eea-map/compare/5.0.6...5.0.7) - 29 November 2024
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(upload): of files through contents modal where action.request.data is undefined [Ichim David - [`4ca89e1`](https://github.com/eea/volto-eea-map/commit/4ca89e1ba22d662810a95c6bf6712ae41c355be2)]
|
|
12
|
+
|
|
13
|
+
### [5.0.6](https://github.com/eea/volto-eea-map/compare/5.0.5...5.0.6) - 6 November 2024
|
|
14
|
+
|
|
15
|
+
### [5.0.5](https://github.com/eea/volto-eea-map/compare/5.0.4...5.0.5) - 19 September 2024
|
|
10
16
|
|
|
11
|
-
- Get properties from metadata - required when using columns/tabs blocks [Miu Razvan - [`5950c74`](https://github.com/eea/volto-eea-map/commit/5950c74068c42109a36b90371cf72acdbe5b5777)]
|
|
12
17
|
### [5.0.4](https://github.com/eea/volto-eea-map/compare/5.0.3...5.0.4) - 9 September 2024
|
|
13
18
|
|
|
14
19
|
#### :house: Internal changes
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ export const preview_image = (middlewares) => [
|
|
|
11
11
|
const state = store.getState();
|
|
12
12
|
const contentData = state.content.data;
|
|
13
13
|
const type = action?.request?.data?.['@type'] || contentData['@type'];
|
|
14
|
-
const lastPreviewImage = Object.keys(action?.request?.data).includes(
|
|
14
|
+
const lastPreviewImage = Object.keys(action?.request?.data || {}).includes(
|
|
15
15
|
'preview_image',
|
|
16
16
|
)
|
|
17
17
|
? action?.request?.data.preview_image
|