|
@@ -22,6 +22,7 @@ const GrowiSubNavigation = (props) => {
|
|
|
} = pageContainer.state;
|
|
} = pageContainer.state;
|
|
|
const isCompactMode = true;
|
|
const isCompactMode = true;
|
|
|
const compactClassName = isCompactMode ? 'fixed-top grw-compact-subnavbar px-3' : null;
|
|
const compactClassName = isCompactMode ? 'fixed-top grw-compact-subnavbar px-3' : null;
|
|
|
|
|
+
|
|
|
// Display only the RevisionPath if the page is trash or forbidden
|
|
// Display only the RevisionPath if the page is trash or forbidden
|
|
|
if (isTrashPage(path) || isPageForbidden) {
|
|
if (isTrashPage(path) || isPageForbidden) {
|
|
|
return (
|
|
return (
|
|
@@ -58,10 +59,11 @@ const GrowiSubNavigation = (props) => {
|
|
|
{creator != null && <li><PageCreator creator={creator} createdAt={createdAt} /></li>}
|
|
{creator != null && <li><PageCreator creator={creator} createdAt={createdAt} /></li>}
|
|
|
{revisionAuthor != null && <li className="mt-1"><RevisionAuthor revisionAuthor={revisionAuthor} updatedAt={updatedAt} /></li>}
|
|
{revisionAuthor != null && <li className="mt-1"><RevisionAuthor revisionAuthor={revisionAuthor} updatedAt={updatedAt} /></li>}
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
-};
|
|
|
|
|
|
|
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Wrapper component for using unstated
|
|
* Wrapper component for using unstated
|