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) => (
|
{hiddenTableColumns.map((column) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
key={column.fieldMetadataId}
|
key={column.fieldMetadataId}
|
||||||
iconButtons={[
|
onClick={() => handleAddColumn(column)}
|
||||||
{
|
|
||||||
Icon: IconPlus,
|
|
||||||
onClick: () => handleAddColumn(column),
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
LeftIcon={icons[column.iconName]}
|
LeftIcon={icons[column.iconName]}
|
||||||
text={column.label}
|
text={column.label}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user