Taichi Masuyama пре 4 година
родитељ
комит
c0127bf457

+ 1 - 1
packages/app/src/components/PageList/PageListItemL.tsx

@@ -92,7 +92,7 @@ const PageListItemLSubstance: ForwardRefRenderFunction<ISelectable, Props> = (pr
   const linkedPagePathFormer = new LinkedPagePath(dPagePath.former);
   const linkedPagePathLatter = new LinkedPagePath(dPagePath.latter);
 
-  const dPagePathForHref: DevidedPagePath = new DevidedPagePath(pageData.path, true);
+  const dPagePathForHref: DevidedPagePath = new DevidedPagePath(pageData.path, false);
   const linkedPagePathFormerForHref = new LinkedPagePath(dPagePathForHref.former);
 
   const lastUpdateDate = format(new Date(pageData.updatedAt), 'yyyy/MM/dd HH:mm:ss');

+ 1 - 1
packages/app/src/components/PagePathHierarchicalLink.jsx

@@ -41,7 +41,7 @@ const PagePathHierarchicalLink = (props) => {
   const isParentRoot = linkedPagePath.parent?.isRoot;
   const isSeparatorRequired = isParentExists && !isParentRoot;
 
-  const href = encodeURI(urljoin(basePath || '/', linkedPagePathForHref.href));
+  const href = encodeURI(urljoin(basePath || '/', linkedPagePathForHref.href ?? linkedPagePath.href));
 
   // eslint-disable-next-line react/prop-types
   const RootElm = ({ children }) => {