druxt-router 0.32.0 → 0.32.1-dev.20261029031407
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.
|
@@ -281,10 +281,11 @@ export default {
|
|
|
281
281
|
const scopedSlots = {}
|
|
282
282
|
|
|
283
283
|
// Provide default error message.
|
|
284
|
-
|
|
284
|
+
const { error } = this.model || {}
|
|
285
|
+
if (error) {
|
|
285
286
|
scopedSlots.default = () => h('div', [
|
|
286
|
-
h('h1', [`Error ${
|
|
287
|
-
h('p', [
|
|
287
|
+
h('h1', [`Error ${error.statusCode}`]),
|
|
288
|
+
h('p', [error.message]),
|
|
288
289
|
])
|
|
289
290
|
}
|
|
290
291
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "druxt-router",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1-dev.20261029031407",
|
|
4
4
|
"description": "Drupal router for Nuxt, powered by the Drupal Decoupled Router module.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"drupal-jsonapi-params": "^2.3.2",
|
|
51
|
-
"druxt": "
|
|
51
|
+
"druxt": "0.25.1-dev.20261029031407",
|
|
52
52
|
"url-parse": "^1.5.10"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|