Explorar o código

125587 remove a tag from isNarrowView

soumaeda %!s(int64=2) %!d(string=hai) anos
pai
achega
c3350a2325
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      apps/app/src/components/PageList/PageListItemS.tsx

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

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