@smartsoft001/angular 1.1.656 → 1.1.657
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/bundles/smartsoft001-angular.umd.js +1 -1
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +1 -1
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js.map +1 -1
- package/fesm2015/smartsoft001-angular.js +1 -1
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/package.json +5 -5
|
@@ -2793,7 +2793,7 @@
|
|
|
2793
2793
|
.filter(function (c) { return c['smartType'] === k; });
|
|
2794
2794
|
};
|
|
2795
2795
|
var components = getComponents(key, moduleRef);
|
|
2796
|
-
if (!components.length) {
|
|
2796
|
+
if (!components.length && moduleRef) {
|
|
2797
2797
|
var applicationRef = moduleRef.injector.get(i0.ApplicationRef);
|
|
2798
2798
|
var appComponentInjector = (_a = applicationRef.components
|
|
2799
2799
|
.find(function (t) { return t.componentType.name === "AppComponent"; })) === null || _a === void 0 ? void 0 : _a.injector;
|