mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 20:42:05 +03:00
2902-fix: record table column add behavior (#2936)
This commit is contained in:
parent
6792724281
commit
4afa277690
@ -45,12 +45,7 @@ export const RecordTableHeaderPlusButtonContent = () => {
|
||||
{hiddenTableColumns.map((column) => (
|
||||
<MenuItem
|
||||
key={column.fieldMetadataId}
|
||||
iconButtons={[
|
||||
{
|
||||
Icon: IconPlus,
|
||||
onClick: () => handleAddColumn(column),
|
||||
},
|
||||
]}
|
||||
onClick={() => handleAddColumn(column)}
|
||||
LeftIcon={icons[column.iconName]}
|
||||
text={column.label}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user