Explorar o código

add !isPageInTrash

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
acbe66e25c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/client/js/components/Navbar/GrowiSubNavigation.jsx

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

@@ -196,7 +196,8 @@ const GrowiSubNavigation = (props) => {
             { !isPageNotFound && !isPageForbidden && <PageManagement /> }
           </div>
           <div className="mt-2">
-            { !isCreatable && <ThreeStrandedButton onThreeStrandedButtonClicked={onThreeStrandedButtonClicked} isBtnDisabled={currentUser == null} />}
+            { !isCreatable && !isPageInTrash
+            && <ThreeStrandedButton onThreeStrandedButtonClicked={onThreeStrandedButtonClicked} isBtnDisabled={currentUser == null} />}
           </div>
         </div>