mario-core 2.9.223-release → 2.9.224-release
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/dist/containers/Login/constant/authConfig.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/package.json +101 -101
- package/dist/containers/Login/components/ButtonLogin.d.ts +0 -3
- package/dist/containers/Login/constant/config.d.ts +0 -6
package/dist/index.modern.js
CHANGED
|
@@ -32350,7 +32350,9 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
32350
32350
|
try {
|
|
32351
32351
|
var _temp6 = _catch(function () {
|
|
32352
32352
|
return Promise.resolve(getInfo()).then(function (info) {
|
|
32353
|
-
|
|
32353
|
+
var _info$data, _info$data$roles;
|
|
32354
|
+
|
|
32355
|
+
if (!info || !(info !== null && info !== void 0 && (_info$data = info.data) !== null && _info$data !== void 0 && (_info$data$roles = _info$data.roles) !== null && _info$data$roles !== void 0 && _info$data$roles.includes("Admin"))) {
|
|
32354
32356
|
resetAuth();
|
|
32355
32357
|
}
|
|
32356
32358
|
|