2
0
Эх сурвалжийг харах

commonalize EditorNavbarBottom

zahmis 5 жил өмнө
parent
commit
2c8c8240f9

+ 1 - 2
src/client/js/components/Page/DisplaySwitcher.jsx

@@ -7,7 +7,6 @@ import Editor from '../PageEditor';
 import Page from '../Page';
 import PageEditorByHackmd from '../PageEditorByHackmd';
 import EditorNavbarBottom from '../PageEditor/EditorNavbarBottom';
-// import TableOfContents from '../TableOfContents';
 
 
 const DisplaySwitcher = (props) => {
@@ -27,7 +26,7 @@ const DisplaySwitcher = (props) => {
           <PageEditorByHackmd />
         </TabPane>
       </TabContent>
-      <EditorNavbarBottom />
+      {editorMode !== 'view' && <EditorNavbarBottom /> }
     </>
   );
 };