@eeacms/volto-marine-policy 1.1.6 → 1.1.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,6 +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
+ ### [1.1.7](https://github.com/eea/volto-marine-policy/compare/1.1.6...1.1.7) - 10 May 2024
8
+
9
+ #### :house: Internal changes
10
+
11
+ - chore: enable some needed externalRoutes [laszlocseh - [`0d50a5b`](https://github.com/eea/volto-marine-policy/commit/0d50a5b998cd06387cde59bde496907b81c697bd)]
12
+
7
13
  ### [1.1.6](https://github.com/eea/volto-marine-policy/compare/1.1.5...1.1.6) - 9 May 2024
8
14
 
9
15
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-marine-policy",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "@eeacms/volto-marine-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -163,6 +163,10 @@ const applyConfig = (config) => {
163
163
  match: '/marine-new',
164
164
  GET_CONTENT: ['object_provides'],
165
165
  },
166
+ {
167
+ match: '/',
168
+ GET_CONTENT: ['siblings'],
169
+ },
166
170
  ];
167
171
 
168
172
  // do not expand breadcrumbs. This fixed the breadcrumbs in contents view. The hasApiExpander needs to be made
@@ -240,28 +244,28 @@ const applyConfig = (config) => {
240
244
  return payload.location.pathname;
241
245
  },
242
246
  },
243
- // {
244
- // match: {
245
- // path:
246
- // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
247
- // exact: false,
248
- // strict: false,
249
- // },
250
- // url(payload) {
251
- // return payload.location.pathname;
252
- // },
253
- // },
254
- // {
255
- // match: {
256
- // path:
257
- // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
258
- // exact: false,
259
- // strict: false,
260
- // },
261
- // url(payload) {
262
- // return payload.location.pathname;
263
- // },
264
- // },
247
+ {
248
+ match: {
249
+ path:
250
+ '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
251
+ exact: false,
252
+ strict: false,
253
+ },
254
+ url(payload) {
255
+ return payload.location.pathname;
256
+ },
257
+ },
258
+ {
259
+ match: {
260
+ path:
261
+ '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
262
+ exact: false,
263
+ strict: false,
264
+ },
265
+ url(payload) {
266
+ return payload.location.pathname;
267
+ },
268
+ },
265
269
  ];
266
270
 
267
271
  config.settings.openExternalLinkInNewTab = true;