mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: add key 'Move to Trash' (#1391)
This commit is contained in:
@@ -57,12 +57,13 @@ export const OperationCell: React.FC<OperationCellProps> = ({
|
||||
{t('Open in new tab')}
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
data-testid="move-to-trash"
|
||||
onClick={() => {
|
||||
setOpen(true);
|
||||
}}
|
||||
icon={<DeleteTemporarilyIcon />}
|
||||
>
|
||||
{t('Delete')}
|
||||
{t('Move to Trash')}
|
||||
</MenuItem>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user