diff --git a/70378.async.js b/70378.async.js index c162cf7cb7..baeccdaa83 100644 --- a/70378.async.js +++ b/70378.async.js @@ -2141,7 +2141,7 @@ var HeaderComponents = function HeaderComponents(_ref) { return str; }; if (globalSetting.showHeader && globalSetting.showHeaderFooter) { - var _globalSetting$settin5, _globalSetting$settin6, _globalSetting$settin7, _user$userInfo, _user$userInfo2, _user$navigationInfo; + var _globalSetting$settin5, _user$userInfo, _user$userInfo2, _user$navigationInfo; return ( /*#__PURE__*/ //style={{background:`${location.pathname=='/training'?'rgba(0,0,0,0)':''}`}} @@ -2158,7 +2158,10 @@ var HeaderComponents = function HeaderComponents(_ref) { }, children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", { className: Headermodules['edu-menu'], - children: [(!!globalSetting.isIlearning || !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin5 = globalSetting.setting) !== null && _globalSetting$settin5 !== void 0 && _globalSetting$settin5.main_site) && !!(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin6 = globalSetting.setting) !== null && _globalSetting$settin6 !== void 0 && _globalSetting$settin6.navbar)) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + children: [ + /*#__PURE__*/ + // (!!globalSetting.isIlearning || (!globalSetting?.setting?.main_site && !!globalSetting?.setting?.navbar)) && + (0,jsx_runtime.jsx)(_umi_production_exports.Link, { style: { display: 'flex', alignItems: 'center' @@ -2174,7 +2177,7 @@ var HeaderComponents = function HeaderComponents(_ref) { to: "/", children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", { className: Headermodules.logo, - title: (_globalSetting$settin7 = globalSetting.setting) === null || _globalSetting$settin7 === void 0 ? void 0 : _globalSetting$settin7.name, + title: (_globalSetting$settin5 = globalSetting.setting) === null || _globalSetting$settin5 === void 0 ? void 0 : _globalSetting$settin5.name, src: logoUrl || logo }) }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {