@iapps/ng-dhis2-ui 1.2.2 → 1.2.3
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.
|
@@ -7586,7 +7586,7 @@ class ProgramEntryFormModule {
|
|
|
7586
7586
|
this.instanceQuery = this.d2.trackerModule.trackedEntity
|
|
7587
7587
|
.setProgram(this.config().program)
|
|
7588
7588
|
.setOrgUnit(this.orgUnit());
|
|
7589
|
-
if (!this.trackedEntity) {
|
|
7589
|
+
if (!this.trackedEntity()) {
|
|
7590
7590
|
return await this.instanceQuery.create();
|
|
7591
7591
|
}
|
|
7592
7592
|
const instance = (await this.instanceQuery
|