mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
Action bar add delete count (#4470)
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
parent
411aac5efc
commit
2aa6bcdb70
@ -106,7 +106,7 @@ export const useRecordActionBar = ({
|
||||
const baseActions: ContextMenuEntry[] = useMemo(
|
||||
() => [
|
||||
{
|
||||
label: 'Delete',
|
||||
label: `Delete (${selectedRecordIds.length})`,
|
||||
Icon: IconTrash,
|
||||
accent: 'danger',
|
||||
onClick: () => handleDeleteClick(),
|
||||
@ -118,7 +118,7 @@ export const useRecordActionBar = ({
|
||||
onClick: () => download(),
|
||||
},
|
||||
],
|
||||
[handleDeleteClick, download, progress],
|
||||
[handleDeleteClick, download, progress, selectedRecordIds],
|
||||
);
|
||||
|
||||
const dataExecuteQuickActionOnmentEnabled = useIsFeatureEnabled(
|
||||
|
Loading…
Reference in New Issue
Block a user