@eeacms/volto-clms-theme 1.0.62 → 1.0.63

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,8 +4,15 @@ 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.0.63](https://github.com/eea/volto-clms-theme/compare/1.0.62...1.0.63)
8
+
9
+ - expose timeExtent info in cart data [`fee869f`](https://github.com/eea/volto-clms-theme/commit/fee869fadeda31c227ebcbbcab294a47190b76b1)
10
+
7
11
  #### [1.0.62](https://github.com/eea/volto-clms-theme/compare/1.0.61...1.0.62)
8
12
 
13
+ > 27 January 2022
14
+
15
+ - Develop [`#189`](https://github.com/eea/volto-clms-theme/pull/189)
9
16
  - Event icon fix [`#188`](https://github.com/eea/volto-clms-theme/pull/188)
10
17
  - Trello issues [`#187`](https://github.com/eea/volto-clms-theme/pull/187)
11
18
  - Bugs n improvements [`#186`](https://github.com/eea/volto-clms-theme/pull/186)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
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",
@@ -10,10 +10,10 @@ export const getDownloadToolPostBody = (selectedItems) => {
10
10
  if (item.area.type === 'nuts') {
11
11
  body_extras['NUTS'] = item.area.value;
12
12
  }
13
- if (item.timeExtend) {
13
+ if (item.timeExtent.length > 0) {
14
14
  body_extras['TemporalFilter'] = {
15
- StartDate: item.timeExtend[0],
16
- EndDate: item.timeExtend[1],
15
+ StartDate: item.timeExtent[0],
16
+ EndDate: item.timeExtent[1],
17
17
  };
18
18
  }
19
19
  if (item.format) {
@@ -74,6 +74,7 @@ export const getCartObjectFromMapviewer = (
74
74
  dataset_uid: dataset_data.UID,
75
75
  task_in_progress: false,
76
76
  projection: dataset_data.projection || projections[0],
77
+ timeExtent: local_cart_data.timeExtent || [],
77
78
  };
78
79
  return mapViewer;
79
80
  };