@eeacms/volto-arcgis-block 0.1.397 → 0.1.398

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,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.1.397](https://github.com/eea/volto-arcgis-block/compare/0.1.396...0.1.397) - 9 October 2025
7
+ ### [0.1.398](https://github.com/eea/volto-arcgis-block/compare/0.1.397...0.1.398) - 10 October 2025
8
+
9
+ ### [0.1.397](https://github.com/eea/volto-arcgis-block/compare/0.1.396...0.1.397) - 10 October 2025
8
10
 
9
11
  #### :hammer_and_wrench: Others
10
12
 
11
- - Merge pull request #1035 from eea/CLMS-292957 [Unai Bolivar - [`830053b`](https://github.com/eea/volto-arcgis-block/commit/830053bb4f035a484b0d1fd8a4d130d7ed38686a)]
12
13
  - (feat): temporal data fetched from /@getcalogapi fully implemented into time slider widget [Unai Bolivar - [`c3bff63`](https://github.com/eea/volto-arcgis-block/commit/c3bff63b6b2429f5a8a2a006f27b376e3ae35e1b)]
13
14
  - (bug): Time slider opens and fully loads when using the active layers tab button. Working on fixing the time sldier button behavior on the TOC menu [Unai Bolivar - [`1363032`](https://github.com/eea/volto-arcgis-block/commit/1363032c58922c2af623ed4c57bcc1951230a254)]
14
15
  - (bug): faulty time slider button behavior that crashed the app fixed. [Unai Bolivar - [`b3227a1`](https://github.com/eea/volto-arcgis-block/commit/b3227a1672bd03534886ac270c568246df58666b)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.397",
3
+ "version": "0.1.398",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -5,16 +5,9 @@ export const GET_CATALOGAPI_DATES_FAILURE = 'GET_CATALOGAPI_DATES_FAILURE';
5
5
  export function fetchCatalogApiDates(byoc, force_refresh = false) {
6
6
  return async (dispatch, getState) => {
7
7
  dispatch({ type: GET_CATALOGAPI_DATES_REQUEST, byoc });
8
- const state = typeof getState === 'function' ? getState() : {};
9
- const lang =
10
- (state && state.intl && state.intl.locale) ||
11
- (state && state.userSession && state.userSession.lang) ||
12
- 'en';
13
- const url = `/++api++/${encodeURIComponent(
14
- lang,
15
- )}/@get_catalogapi_dates?byoc=${encodeURIComponent(byoc)}&force_refresh=${
16
- force_refresh ? 'true' : 'false'
17
- }`;
8
+ const url = `/++api++/@get_catalogapi_dates?byoc=${encodeURIComponent(
9
+ byoc,
10
+ )}&force_refresh=${force_refresh ? 'true' : 'false'}`;
18
11
  try {
19
12
  const res = await fetch(url, { headers: { Accept: 'application/json' } });
20
13
  const data = await res.json();