@etsoo/materialui 1.3.87 → 1.3.88
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/CommonApp.js +2 -0
- package/package.json +2 -2
- package/src/app/CommonApp.ts +3 -0
package/lib/app/CommonApp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.88",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@emotion/css": "^11.13.0",
|
|
51
51
|
"@emotion/react": "^11.13.3",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|
|
53
|
-
"@etsoo/appscript": "^1.5.
|
|
53
|
+
"@etsoo/appscript": "^1.5.16",
|
|
54
54
|
"@etsoo/notificationbase": "^1.1.47",
|
|
55
55
|
"@etsoo/react": "^1.7.66",
|
|
56
56
|
"@etsoo/shared": "^1.2.44",
|
package/src/app/CommonApp.ts
CHANGED
|
@@ -132,6 +132,9 @@ export abstract class CommonApp<
|
|
|
132
132
|
if (result == null) return false;
|
|
133
133
|
|
|
134
134
|
if (!result.ok) {
|
|
135
|
+
// Remove the wrong token
|
|
136
|
+
this.clearCacheToken();
|
|
137
|
+
|
|
135
138
|
if (result.type === "TokenExpired" && relogin) {
|
|
136
139
|
// Try login
|
|
137
140
|
// Dialog to receive password
|