mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +00:00
use key instead of label as id
This commit is contained in:
@@ -22,7 +22,7 @@ export const CommandMenuActions = ({
|
||||
|
||||
const actionCommands = useMemo(() => {
|
||||
return actionMenuEntries?.map((actionMenuEntry) => ({
|
||||
id: actionMenuEntry.label,
|
||||
id: actionMenuEntry.key,
|
||||
label: actionMenuEntry.label,
|
||||
Icon: actionMenuEntry.Icon,
|
||||
onCommandClick: actionMenuEntry.onClick,
|
||||
|
||||
Reference in New Issue
Block a user