mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-22 19:41: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', {
|
||||
header: () => <ColumnHead viewName="People" viewIcon={faUser} />,
|
||||
cell: (props) => (
|
||||
<CellLink
|
||||
name={props.row.original.fullName}
|
||||
picture={props.row.original.picture}
|
||||
href="#"
|
||||
/>
|
||||
<>
|
||||
<input
|
||||
type="checkbox"
|
||||
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', {
|
||||
|
Loading…
Reference in New Issue
Block a user