From bb07ca2a7ac854fc3416db2be04fbefbc540aafd Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 24 Jul 2024 12:31:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20frontend:=20hide=20open=20in=20n?= =?UTF-8?q?ew=20window=20context=20menu=20(#603)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/app/views/client/body/drive/context-menu.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx b/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx index 4185694c..5b265e3b 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/context-menu.tsx @@ -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',