mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-08 18:03:53 +03:00
feature: add checkbox on people cells
This commit is contained in:
parent
e8f85f2a29
commit
81da0f4e03
@ -105,11 +105,18 @@ const columns = [
|
|||||||
columnHelper.accessor('fullName', {
|
columnHelper.accessor('fullName', {
|
||||||
header: () => <ColumnHead viewName="People" viewIcon={faUser} />,
|
header: () => <ColumnHead viewName="People" viewIcon={faUser} />,
|
||||||
cell: (props) => (
|
cell: (props) => (
|
||||||
<CellLink
|
<>
|
||||||
name={props.row.original.fullName}
|
<input
|
||||||
picture={props.row.original.picture}
|
type="checkbox"
|
||||||
href="#"
|
id={`person-selected-${props.row.original.email}`}
|
||||||
/>
|
name={`person-selected${props.row.original.email}`}
|
||||||
|
></input>
|
||||||
|
<CellLink
|
||||||
|
name={props.row.original.fullName}
|
||||||
|
picture={props.row.original.picture}
|
||||||
|
href="#"
|
||||||
|
/>
|
||||||
|
</>
|
||||||
),
|
),
|
||||||
}),
|
}),
|
||||||
columnHelper.accessor('email', {
|
columnHelper.accessor('email', {
|
||||||
|
Loading…
Reference in New Issue
Block a user