💄 frontend: hide open in new window context menu (#603)
This commit is contained in:
committed by
ericlinagora
parent
5b3d89bade
commit
bb07ca2a7a
@@ -102,6 +102,7 @@ export const useOnBuildContextMenu = (children: DriveItem[], initialParentId?: s
|
||||
}
|
||||
}
|
||||
},
|
||||
/*TODO: fix loading of preview in new window and uncomment. See https://github.com/linagora/twake-drive/issues/603 .
|
||||
{
|
||||
type: 'menu',
|
||||
icon: 'eye',
|
||||
@@ -112,7 +113,7 @@ export const useOnBuildContextMenu = (children: DriveItem[], initialParentId?: s
|
||||
const route = RouterServices.generateRouteFromState({ companyId: company, viewId, itemId });
|
||||
window.open(route, '_blank');
|
||||
}
|
||||
},
|
||||
}, // */
|
||||
{ type: 'separator' },
|
||||
{
|
||||
type: 'menu',
|
||||
|
||||
Reference in New Issue
Block a user