aq-fe-framework 0.1.724 → 0.1.725
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.
|
@@ -16139,6 +16139,7 @@ function Feat_Authenticate_SSOHandler({
|
|
|
16139
16139
|
const studentCode = searchParams.get("code");
|
|
16140
16140
|
const token = searchParams.get("token");
|
|
16141
16141
|
useEffect32(() => {
|
|
16142
|
+
localStorage.clear();
|
|
16142
16143
|
if (config3.isLoading == true) return;
|
|
16143
16144
|
if (studentCode && token) {
|
|
16144
16145
|
loginSSO(studentCode, token);
|
|
@@ -16165,9 +16166,7 @@ function Feat_Authenticate_SSOHandler({
|
|
|
16165
16166
|
manager.onLoginSuccessSaveStore({ data: data2.data });
|
|
16166
16167
|
const firstPageIdCanView = (_c = (_b = data2.data.permissions) == null ? void 0 : _b.find((element) => element.isRead)) == null ? void 0 : _c.pageId;
|
|
16167
16168
|
const flatmenu = extractLinkedMenuItems(menuData || []);
|
|
16168
|
-
console.log(firstPageIdCanView);
|
|
16169
16169
|
const first = flatmenu.find((item) => item.pageId == firstPageIdCanView);
|
|
16170
|
-
console.log();
|
|
16171
16170
|
onSuccessNavigateFollowRole(data2.data || [], first);
|
|
16172
16171
|
} else {
|
|
16173
16172
|
setMessError("\u0110\u0103ng nh\u1EADp kh\xF4ng th\xE0nh c\xF4ng");
|
package/dist/core/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
MyStatsCard,
|
|
26
26
|
MyTextInput2 as MyTextInput,
|
|
27
27
|
MyWeeklySessionSchedulerPicker
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-RW6TLBQ2.mjs";
|
|
29
29
|
import "../chunk-SUH3FFFV.mjs";
|
|
30
30
|
import "../chunk-2B2FKBKX.mjs";
|
|
31
31
|
import "../chunk-7PUDC2WF.mjs";
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
MailTemplateDeleteButton,
|
|
113
113
|
useS_authenticate,
|
|
114
114
|
useS_moduleConfig
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-RW6TLBQ2.mjs";
|
|
116
116
|
import "../chunk-SUH3FFFV.mjs";
|
|
117
117
|
import "../chunk-2B2FKBKX.mjs";
|
|
118
118
|
import "../chunk-7PUDC2WF.mjs";
|