💄 frontend: remove exit from trash context menu entry (#525)
didn't work, and no real point
This commit is contained in:
@@ -268,12 +268,6 @@ export const useOnBuildContextMenu = (children: DriveItem[], initialParentId?: s
|
||||
//Add parent related menus
|
||||
const newMenuActions: any[] = inTrash
|
||||
? [
|
||||
{
|
||||
type: 'menu',
|
||||
text: Languages.t('components.item_context_menu.trash.exit'),
|
||||
onClick: () => setParentId('root'),
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
type: 'menu',
|
||||
text: Languages.t('components.item_context_menu.trash.empty'),
|
||||
|
||||
Reference in New Issue
Block a user