💄 frontend: hide open in new window context menu (#603)

This commit is contained in:
Eric Doughty-Papassideris
2024-07-24 12:31:04 +02:00
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',