@etsoo/materialui 1.4.54 → 1.4.55
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 +1 -1
- package/package.json +3 -3
- package/src/app/ServiceApp.ts +1 -4
package/lib/app/ServiceApp.js
CHANGED
|
@@ -167,7 +167,7 @@ export class ServiceApp extends ReactApp {
|
|
|
167
167
|
if (!this.coreAccessToken) {
|
|
168
168
|
throw new Error("Core access token is required to switch organization.");
|
|
169
169
|
}
|
|
170
|
-
const [result, refreshToken] = await new AuthApi(this
|
|
170
|
+
const [result, refreshToken] = await new AuthApi(this).switchOrg({ organizationId, fromOrganizationId, token: this.coreAccessToken }, payload);
|
|
171
171
|
if (result == null)
|
|
172
172
|
return;
|
|
173
173
|
if (!result.ok) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.55",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@etsoo/notificationbase": "^1.1.54",
|
|
40
40
|
"@etsoo/react": "^1.8.15",
|
|
41
41
|
"@etsoo/shared": "^1.2.55",
|
|
42
|
-
"@mui/icons-material": "^6.3.
|
|
43
|
-
"@mui/material": "^6.3.
|
|
42
|
+
"@mui/icons-material": "^6.3.1",
|
|
43
|
+
"@mui/material": "^6.3.1",
|
|
44
44
|
"@mui/x-data-grid": "^7.23.5",
|
|
45
45
|
"chart.js": "^4.4.7",
|
|
46
46
|
"chartjs-plugin-datalabels": "^2.2.0",
|
package/src/app/ServiceApp.ts
CHANGED
|
@@ -220,10 +220,7 @@ export class ServiceApp<
|
|
|
220
220
|
throw new Error("Core access token is required to switch organization.");
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
const [result, refreshToken] = await new AuthApi(
|
|
224
|
-
this,
|
|
225
|
-
this.coreApi
|
|
226
|
-
).switchOrg(
|
|
223
|
+
const [result, refreshToken] = await new AuthApi(this).switchOrg(
|
|
227
224
|
{ organizationId, fromOrganizationId, token: this.coreAccessToken },
|
|
228
225
|
payload
|
|
229
226
|
);
|