Răsfoiți Sursa

modifed so that ThreeStrandedButton will show only on notFound page

白石誠 5 ani în urmă
părinte
comite
26967af067
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/client/js/components/Navbar/GrowiSubNavigation.jsx

+ 1 - 1
src/client/js/components/Navbar/GrowiSubNavigation.jsx

@@ -154,7 +154,7 @@ const GrowiSubNavigation = (props) => {
     return (
     return (
       <div className="grw-subnav d-flex align-items-center justify-content-between">
       <div className="grw-subnav d-flex align-items-center justify-content-between">
         <PagePathNav pageId={pageId} pagePath={path} isPageForbidden={isPageForbidden} />
         <PagePathNav pageId={pageId} pagePath={path} isPageForbidden={isPageForbidden} />
-        <ThreeStrandedButton onThreeStrandedButtonClicked={onThreeStrandedButtonClicked} />
+        {isPageNotFound && <ThreeStrandedButton onThreeStrandedButtonClicked={onThreeStrandedButtonClicked} />}
       </div>
       </div>
     );
     );
   }
   }