|
@@ -1,5 +1,5 @@
|
|
|
import React, { FC } from 'react';
|
|
import React, { FC } from 'react';
|
|
|
-import PageListItem from '../Page/PageListItem';
|
|
|
|
|
|
|
+import SearchResultListItem from './SearchResultListItem';
|
|
|
import PaginationWrapper from '../PaginationWrapper';
|
|
import PaginationWrapper from '../PaginationWrapper';
|
|
|
import { IPageSearchResultData } from '../../interfaces/search';
|
|
import { IPageSearchResultData } from '../../interfaces/search';
|
|
|
|
|
|
|
@@ -32,7 +32,7 @@ const SearchResultList: FC<Props> = (props:Props) => {
|
|
|
const isChecked = selectedPagesIdList.has(page.pageData._id);
|
|
const isChecked = selectedPagesIdList.has(page.pageData._id);
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <PageListItem
|
|
|
|
|
|
|
+ <SearchResultListItem
|
|
|
key={page.pageData._id}
|
|
key={page.pageData._id}
|
|
|
page={page}
|
|
page={page}
|
|
|
isEnableActions={isEnableActions}
|
|
isEnableActions={isEnableActions}
|
|
@@ -42,7 +42,6 @@ const SearchResultList: FC<Props> = (props:Props) => {
|
|
|
isChecked={isChecked}
|
|
isChecked={isChecked}
|
|
|
isSelected={page.pageData._id === focusedPageId || false}
|
|
isSelected={page.pageData._id === focusedPageId || false}
|
|
|
onClickDeleteButton={props.onClickDeleteButton}
|
|
onClickDeleteButton={props.onClickDeleteButton}
|
|
|
- showCheckbox
|
|
|
|
|
/>
|
|
/>
|
|
|
);
|
|
);
|
|
|
})}
|
|
})}
|