Yuki Takei 5 лет назад
Родитель
Сommit
352eef8bcf
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/client/js/components/Navbar/GrowiSubNavigation.jsx

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

@@ -31,7 +31,7 @@ const GrowiSubNavigation = (props) => {
   const isPageNotFound = pageId == null;
   const isPageNotFound = pageId == null;
   const isPageInTrash = isTrashPage(path);
   const isPageInTrash = isTrashPage(path);
 
 
-  const dPagePath = new DevidedPagePath(pageContainer.state.path, false, true);
+  const dPagePath = new DevidedPagePath(path, false, true);
   const linkedPagePathFormer = new LinkedPagePath(dPagePath.former);
   const linkedPagePathFormer = new LinkedPagePath(dPagePath.former);
   const renderFormerLink = () => (
   const renderFormerLink = () => (
     <>
     <>
@@ -49,7 +49,6 @@ const GrowiSubNavigation = (props) => {
             pageId={pageId}
             pageId={pageId}
             pagePath={pageContainer.state.path}
             pagePath={pageContainer.state.path}
             isPageForbidden={isPageForbidden}
             isPageForbidden={isPageForbidden}
-            isPageInTrash={isPageInTrash}
           />
           />
         </h1>
         </h1>
       </div>
       </div>