|
|
@@ -60,23 +60,6 @@ const PagePathNav = ({ pageId, pagePath, isPageForbidden }) => {
|
|
|
);
|
|
|
};
|
|
|
|
|
|
-// eslint-disable-next-line react/prop-types
|
|
|
-const UserPagePathNav = ({ pageId, pagePath }) => {
|
|
|
- const linkedPagePath = new LinkedPagePath(pagePath);
|
|
|
- const latterLink = <PagePathHierarchicalLink linkedPagePath={linkedPagePath} />;
|
|
|
-
|
|
|
- return (
|
|
|
- <div className="grw-page-path-nav">
|
|
|
- <span className="d-flex align-items-center flex-wrap">
|
|
|
- <h4 className="grw-user-page-path">{latterLink}</h4>
|
|
|
- <RevisionPathControls
|
|
|
- pageId={pageId}
|
|
|
- pagePath={pagePath}
|
|
|
- />
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- );
|
|
|
-};
|
|
|
|
|
|
/* eslint-enable react/prop-types */
|
|
|
|