@omnia/wcm 7.10.0-preview.14 → 7.10.0-preview.15

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.
@@ -103,6 +103,9 @@ class VariationSecurityResourceEvaluator {
103
103
  if (pageId) {
104
104
  yield this.pagesStore.actions.ensurePages.dispatch([pageId]);
105
105
  const page = this.pagesStore.getters.getPage(pageId);
106
+ if (!page) {
107
+ return "";
108
+ }
106
109
  return this.getResourceName(page.securityResourceId.toString(), variationId.toString());
107
110
  }
108
111
  return "";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.14",
4
+ "version": "7.10.0-preview.15",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"