@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 +6 -0
- package/package.json +1 -1
- package/src/index.js +26 -22
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
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
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
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;
|