@etsoo/materialui 1.0.48 → 1.0.50
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/lib/app/ServiceApp.js +2 -1
- package/package.json +2 -2
- package/src/app/ServiceApp.ts +3 -1
package/lib/app/ServiceApp.js
CHANGED
|
@@ -26,8 +26,9 @@ export class ServiceApp extends ReactApp {
|
|
|
26
26
|
}
|
|
27
27
|
// Service API
|
|
28
28
|
const api = createClient();
|
|
29
|
-
api.baseUrl = settings.serviceEndpoint;
|
|
30
29
|
this.setApi(api);
|
|
30
|
+
// Fix the baseUrl done by setupApi (Default is the settings.endpoint)
|
|
31
|
+
api.baseUrl = settings.serviceEndpoint;
|
|
31
32
|
this.serviceApi = api;
|
|
32
33
|
}
|
|
33
34
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@emotion/styled": "^11.10.4",
|
|
54
54
|
"@etsoo/appscript": "^1.3.7",
|
|
55
55
|
"@etsoo/notificationbase": "^1.1.12",
|
|
56
|
-
"@etsoo/react": "^1.6.
|
|
56
|
+
"@etsoo/react": "^1.6.17",
|
|
57
57
|
"@etsoo/shared": "^1.1.60",
|
|
58
58
|
"@mui/icons-material": "^5.10.9",
|
|
59
59
|
"@mui/material": "^5.10.9",
|
package/src/app/ServiceApp.ts
CHANGED
|
@@ -62,9 +62,11 @@ export class ServiceApp<
|
|
|
62
62
|
|
|
63
63
|
// Service API
|
|
64
64
|
const api = createClient();
|
|
65
|
+
this.setApi(api);
|
|
66
|
+
|
|
67
|
+
// Fix the baseUrl done by setupApi (Default is the settings.endpoint)
|
|
65
68
|
api.baseUrl = settings.serviceEndpoint;
|
|
66
69
|
|
|
67
|
-
this.setApi(api);
|
|
68
70
|
this.serviceApi = api;
|
|
69
71
|
}
|
|
70
72
|
|