@eeacms/volto-clms-theme 1.1.143 → 1.1.144

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,11 @@ 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.1.144](https://github.com/eea/volto-clms-theme/compare/1.1.143...1.1.144) - 6 May 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-3214 (Feat): Auxiliar calendar displayed when no service and time series [Urkorue - [`fdc162b`](https://github.com/eea/volto-clms-theme/commit/fdc162bc26d3fa9a5a9c6652c5edfec25d1fa1a6)]
7
12
  ### [1.1.143](https://github.com/eea/volto-clms-theme/compare/1.1.142...1.1.143) - 3 May 2024
8
13
 
9
14
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.143",
3
+ "version": "1.1.144",
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",
@@ -418,23 +418,23 @@ const CLMSCartContent = (props) => {
418
418
  />
419
419
  </td>
420
420
  <td className="table-td-timeseries">
421
- {datasetTimeseries.datasets[item?.dataset_uid]
422
- ?.start ? (
421
+ {datasetTimeseries.datasets[item?.dataset_uid]?.start ||
422
+ item.download_show_auxiliary_calendar ? (
423
423
  <TimeseriesPicker
424
424
  start={
425
425
  datasetTimeseries.datasets[item?.dataset_uid]
426
- .start
426
+ ?.start
427
427
  }
428
428
  end={
429
- datasetTimeseries.datasets[item?.dataset_uid].end
429
+ datasetTimeseries.datasets[item?.dataset_uid]?.end
430
430
  }
431
431
  period={
432
432
  datasetTimeseries.datasets[item?.dataset_uid]
433
- .period
433
+ ?.period
434
434
  }
435
435
  download_limit_temporal_extent={
436
436
  datasetTimeseries.datasets[item?.dataset_uid]
437
- .download_limit_temporal_extent
437
+ ?.download_limit_temporal_extent
438
438
  }
439
439
  item={item}
440
440
  setTimeseriesValue={setTimeseriesValue}
@@ -145,6 +145,8 @@ export const getCartObjectFromMapviewer = (
145
145
  type_options.length > 0 && type_options[0].layers.length > 0
146
146
  ? type_options[0].layers[0]
147
147
  : null,
148
+ download_show_auxiliary_calendar:
149
+ dataset_data.download_show_auxiliary_calendar,
148
150
  };
149
151
  };
150
152