|
@@ -15,6 +15,7 @@ import { format } from 'date-fns';
|
|
|
import { useTranslation } from 'next-i18next';
|
|
import { useTranslation } from 'next-i18next';
|
|
|
import Link from 'next/link';
|
|
import Link from 'next/link';
|
|
|
import Clamp from 'react-multiline-clamp';
|
|
import Clamp from 'react-multiline-clamp';
|
|
|
|
|
+import { Input } from 'reactstrap';
|
|
|
|
|
|
|
|
import { ISelectable } from '~/client/interfaces/selectable-all';
|
|
import { ISelectable } from '~/client/interfaces/selectable-all';
|
|
|
import { unlink, bookmark, unbookmark } from '~/client/services/page-operation';
|
|
import { unlink, bookmark, unbookmark } from '~/client/services/page-operation';
|
|
@@ -196,11 +197,11 @@ const PageListItemLSubstance: ForwardRefRenderFunction<ISelectable, Props> = (pr
|
|
|
{/* checkbox */}
|
|
{/* checkbox */}
|
|
|
{onCheckboxChanged != null && (
|
|
{onCheckboxChanged != null && (
|
|
|
<div className="d-flex align-items-center justify-content-center">
|
|
<div className="d-flex align-items-center justify-content-center">
|
|
|
- <input
|
|
|
|
|
|
|
+ <Input
|
|
|
type='checkbox'
|
|
type='checkbox'
|
|
|
id={`cbSelect-${pageData._id}`}
|
|
id={`cbSelect-${pageData._id}`}
|
|
|
data-testid="cb-select"
|
|
data-testid="cb-select"
|
|
|
- ref={inputRef}
|
|
|
|
|
|
|
+ innerRef={inputRef}
|
|
|
onChange={(e) => { onCheckboxChanged(e.target.checked, pageData._id) }}
|
|
onChange={(e) => { onCheckboxChanged(e.target.checked, pageData._id) }}
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|