Fix action menu dropdown not closing when clicking outside the table or board and introduce helper functions to get the action menu component ids.
6 lines
140 B
TypeScript
6 lines
140 B
TypeScript
export const getActionMenuDropdownIdFromActionMenuId = (
|
|
actionMenuId: string,
|
|
) => {
|
|
return `action-menu-dropdown-${actionMenuId}`;
|
|
};
|