Просмотр исходного кода

Revert "remove test code"

This reverts commit 939cb8c3f43819aa7f1508f6e76edd82ccd48198.
itizawa 6 лет назад
Родитель
Сommit
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 isPageInTrash = isTrashPage(path);
 
+  console.log({
+    isPageForbidden, isPageNotFound, isPageInTrash, pageId, path,
+  });
   // Display only the RevisionPath
   if (isPageNotFound || isPageForbidden || isPageInTrash) {
     return (