Просмотр исходного кода

125587 add nolink in condition

soumaeda 2 лет назад
Родитель
Сommit
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">