Web: Client: delete useless
This commit is contained in:
parent
0f50f41f52
commit
c255601f65
@ -435,7 +435,6 @@ const Shell = ({ items = [], page = "home", ...rest }) => {
|
||||
|
||||
const pathname = window.location.pathname.toLowerCase();
|
||||
const isEditor = pathname.indexOf("doceditor") !== -1;
|
||||
const isLogin = pathname.indexOf("login") !== -1;
|
||||
|
||||
if (!window.AppServer.studio) {
|
||||
window.AppServer.studio = {};
|
||||
@ -527,7 +526,7 @@ const Shell = ({ items = [], page = "home", ...rest }) => {
|
||||
<Router history={history}>
|
||||
<Toast />
|
||||
<ReactSmartBanner t={t} ready={ready} />
|
||||
{isEditor || isLogin || !isMobileOnly ? <></> : <NavMenu />}
|
||||
{isEditor || !isMobileOnly ? <></> : <NavMenu />}
|
||||
<IndicatorLoader />
|
||||
<ScrollToTop />
|
||||
<DialogsWrapper t={t} />
|
||||
|
Loading…
Reference in New Issue
Block a user