|
|
@@ -12,7 +12,7 @@ type PageListItemSProps = {
|
|
|
page: IPageHasId,
|
|
|
noLink?: boolean,
|
|
|
pageTitle?: string
|
|
|
- isBookmarkItem?: boolean,
|
|
|
+ isNarrowView?: boolean,
|
|
|
}
|
|
|
|
|
|
export const PageListItemS = (props: PageListItemSProps): JSX.Element => {
|
|
|
@@ -21,7 +21,7 @@ export const PageListItemS = (props: PageListItemSProps): JSX.Element => {
|
|
|
page,
|
|
|
noLink = false,
|
|
|
pageTitle,
|
|
|
- isBookmarkItem = false,
|
|
|
+ isNarrowView = false,
|
|
|
} = props;
|
|
|
|
|
|
const path = pageTitle != null ? pageTitle : page.path;
|
|
|
@@ -31,7 +31,7 @@ export const PageListItemS = (props: PageListItemSProps): JSX.Element => {
|
|
|
pagePathElement = <a className="text-break" href={page.path}>{pagePathElement}</a>;
|
|
|
}
|
|
|
|
|
|
- if (isBookmarkItem) {
|
|
|
+ if (isNarrowView) {
|
|
|
pagePathElement = (
|
|
|
<div className={`${styles['page-list']}`}>
|
|
|
<div className="mx-2 bookmarks-path-element">
|