[FEAT-2496] Add Customize fields button in new column menu (#2683)
* feat: add customize-fields btn in new column menu * fix: refactor onClick * Add separator --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -39,6 +39,7 @@ export const MenuItem = ({
|
||||
const showIconButtons = Array.isArray(iconButtons) && iconButtons.length > 0;
|
||||
|
||||
const handleMenuItemClick = (event: MouseEvent<HTMLLIElement>) => {
|
||||
if (!onClick) return;
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user