فهرست منبع

125587 add nolink in condition

soumaeda 2 سال پیش
والد
کامیت
fe87413dc1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/app/src/components/PageList/PageListItemS.tsx

+ 1 - 1
apps/app/src/components/PageList/PageListItemS.tsx

@@ -32,7 +32,7 @@ export const PageListItemS = (props: PageListItemSProps): JSX.Element => {
     pagePathElement = <a className="text-break" href={page.path}>{pagePathElement}</a>;
   }
 
-  if (isNarrowView) {
+  if (isNarrowView && !noLink) {
     pagePathElement = (
       <div className={`${styles['page-list']}`}>
         <div className="mx-2 page-title">