Kaynağa Gözat

125587 add nolink in condition

soumaeda 2 yıl önce
ebeveyn
işleme
fe87413dc1

+ 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">