Auto Submit

dev_local_v9_gfkjdx
autosubmit 1 year ago
parent 8b6c8a0ffa
commit 66a42d3ee6

@ -1356,11 +1356,11 @@ var Join = function Join(_ref) {
};
console.log(isClassroomsHidden);
(0,_react_17_0_2_react.useEffect)(function () {
if (globalSetting !== null && globalSetting !== void 0 && globalSetting.setting) {
if (globalSetting !== null && globalSetting !== void 0 && globalSetting.setting && user !== null && user !== void 0 && user.userInfo) {
var _user$userInfo20, _globalSetting$settin11;
setShowDrop(!isClassroomsHidden || !isShixunsHidden || !isPathsHidden || !isGraduationsHidden || ((_user$userInfo20 = user.userInfo) === null || _user$userInfo20 === void 0 ? void 0 : _user$userInfo20.main_site) && !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin11 = globalSetting.setting) !== null && _globalSetting$settin11 !== void 0 && _globalSetting$settin11.is_local));
}
}, [globalSetting]);
}, [globalSetting, user === null || user === void 0 ? void 0 : user.userInfo]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
children: [showdrop && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.11067b45.js"></script>
<script src="/react/build/umi.6c99edb6.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save