@decaf-ts/for-angular 0.0.89 → 0.0.90
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.
|
@@ -5418,7 +5418,7 @@ class NgxModelPageDirective extends NgxPageDirective {
|
|
|
5418
5418
|
const properties = this.getModelProperties(constructor);
|
|
5419
5419
|
for (const prop of properties) {
|
|
5420
5420
|
const type = this.getModelPropertyType(constructor, prop);
|
|
5421
|
-
const context = getModelAndRepository(type);
|
|
5421
|
+
const context = getModelAndRepository(type) || getModelAndRepository(prop);
|
|
5422
5422
|
if (!context) {
|
|
5423
5423
|
acc[prop] = {};
|
|
5424
5424
|
return getRepository(type, acc, prop);
|