json-react-layouts-data-loader
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -7,2 +7,5 @@ "use strict"; | ||
var componentDataDefinition = componentRegistrar.get(componentType); | ||
if (!componentDataDefinition) { | ||
return; | ||
} | ||
var dataDefinition = componentDataDefinition.dataDefinition; | ||
@@ -9,0 +12,0 @@ return dataDefinition; |
@@ -5,2 +5,5 @@ import { getRegistrars } from 'json-react-layouts'; | ||
var componentDataDefinition = componentRegistrar.get(componentType); | ||
if (!componentDataDefinition) { | ||
return; | ||
} | ||
var dataDefinition = componentDataDefinition.dataDefinition; | ||
@@ -7,0 +10,0 @@ return dataDefinition; |
{ | ||
"name": "json-react-layouts-data-loader", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
@@ -11,2 +11,6 @@ import { getRegistrars, LayoutApi } from 'json-react-layouts' | ||
// This can be undefined | ||
if (!componentDataDefinition) { | ||
return | ||
} | ||
const dataDefinition = (componentDataDefinition as any).dataDefinition | ||
@@ -13,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
82231
1148