@dhis2/app-service-data 3.2.8 → 3.2.9
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.
|
@@ -30,7 +30,7 @@ class CustomDataLink {
|
|
|
30
30
|
|
|
31
31
|
const customResource = this.data[query.resource];
|
|
32
32
|
|
|
33
|
-
if (
|
|
33
|
+
if (customResource === undefined) {
|
|
34
34
|
if (this.failOnMiss) {
|
|
35
35
|
throw new Error("No data provided for resource type ".concat(query.resource, "!"));
|
|
36
36
|
}
|
|
@@ -23,7 +23,7 @@ export class CustomDataLink {
|
|
|
23
23
|
|
|
24
24
|
const customResource = this.data[query.resource];
|
|
25
25
|
|
|
26
|
-
if (
|
|
26
|
+
if (customResource === undefined) {
|
|
27
27
|
if (this.failOnMiss) {
|
|
28
28
|
throw new Error("No data provided for resource type ".concat(query.resource, "!"));
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2/app-service-data",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.9",
|
|
4
4
|
"main": "./build/cjs/index.js",
|
|
5
5
|
"module": "./build/es/index.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"build/**"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@dhis2/app-service-config": "3.2.
|
|
25
|
+
"@dhis2/app-service-config": "3.2.9",
|
|
26
26
|
"@dhis2/cli-app-scripts": "^7.1.1",
|
|
27
27
|
"prop-types": "^15.7.2",
|
|
28
28
|
"react": "^16.8",
|