druxt-menu
Advanced tools
Comparing version 0.14.0 to 0.14.1
# druxt-menu | ||
## 0.14.1 | ||
### Patch Changes | ||
- ee15810: Fixed bug when menu endpoint fails | ||
- Updated dependencies [4504a2f] | ||
- druxt@0.12.0 | ||
- druxt-blocks@0.13.1 | ||
## 0.14.0 | ||
@@ -4,0 +13,0 @@ |
@@ -121,3 +121,9 @@ import { resolve, join } from 'path'; | ||
const entities = []; | ||
const collections = await this.druxt.getCollectionAll(menuItemsResource, query); | ||
let collections = []; | ||
try { | ||
collections = await this.druxt.getCollectionAll(menuItemsResource, query); | ||
} catch (e) { | ||
console.log("ASDASDOOO"); | ||
return { entities }; | ||
} | ||
for (const collection of collections) { | ||
@@ -124,0 +130,0 @@ for (const entity of collection.data) { |
@@ -125,3 +125,9 @@ 'use strict'; | ||
const entities = []; | ||
const collections = await this.druxt.getCollectionAll(menuItemsResource, query); | ||
let collections = []; | ||
try { | ||
collections = await this.druxt.getCollectionAll(menuItemsResource, query); | ||
} catch (e) { | ||
console.log("ASDASDOOO"); | ||
return { entities }; | ||
} | ||
for (const collection of collections) { | ||
@@ -128,0 +134,0 @@ for (const entity of collection.data) { |
{ | ||
"name": "druxt-menu", | ||
"version": "0.14.0", | ||
"version": "0.14.1", | ||
"description": "Drupal Menu and Menu item Druxt components, with support for the JSON:API Menu Items module.", | ||
@@ -47,4 +47,4 @@ "keywords": [ | ||
"drupal-jsonapi-params": "^1.1.12", | ||
"druxt": "^0.11.0", | ||
"druxt-blocks": "^0.13.0" | ||
"druxt": "^0.12.0", | ||
"druxt-blocks": "^0.13.1" | ||
}, | ||
@@ -51,0 +51,0 @@ "optionalDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34611
455
- Removeddruxt@0.11.0(transitive)
Updateddruxt@^0.12.0
Updateddruxt-blocks@^0.13.1