Преглед изворни кода

Revert "remove test code"

This reverts commit 939cb8c3f43819aa7f1508f6e76edd82ccd48198.
itizawa пре 6 година
родитељ
комит
2641e387a8
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/client/js/components/Navbar/GrowiSubNavigation.jsx

+ 3 - 0
src/client/js/components/Navbar/GrowiSubNavigation.jsx

@@ -25,6 +25,9 @@ const GrowiSubNavigation = (props) => {
   const isPageNotFound = pageId == null;
   const isPageNotFound = pageId == null;
   const isPageInTrash = isTrashPage(path);
   const isPageInTrash = isTrashPage(path);
 
 
+  console.log({
+    isPageForbidden, isPageNotFound, isPageInTrash, pageId, path,
+  });
   // Display only the RevisionPath
   // Display only the RevisionPath
   if (isPageNotFound || isPageForbidden || isPageInTrash) {
   if (isPageNotFound || isPageForbidden || isPageInTrash) {
     return (
     return (