@one-paragon/angular-utilities 2.1.4 → 2.1.6
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.
|
@@ -1870,6 +1870,8 @@ function getFactory(b) {
|
|
|
1870
1870
|
return a;
|
|
1871
1871
|
for (let index = 0; index < arr.length; index++) {
|
|
1872
1872
|
val = val[arr[index]];
|
|
1873
|
+
if (val == undefined)
|
|
1874
|
+
return undefined;
|
|
1873
1875
|
if (typeof val !== 'object' && index + 1 < arr.length)
|
|
1874
1876
|
return undefined;
|
|
1875
1877
|
}
|