From 506c5d3104812647a34c93690d6d04726edc09d9 Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Thu, 13 Dec 2018 15:25:56 +0100 Subject: [PATCH] Prevent going through file viewer action twice when navigationg using tab Feature #13540 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- .../actions/file-viewer-actions.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views-components/context-menu/actions/file-viewer-actions.tsx b/src/views-components/context-menu/actions/file-viewer-actions.tsx index b2ce556f89..f1a46952d5 100644 --- a/src/views-components/context-menu/actions/file-viewer-actions.tsx +++ b/src/views-components/context-menu/actions/file-viewer-actions.tsx @@ -56,20 +56,20 @@ export const FileViewerActions = connect(mapStateToProps)( ({ fileUrl, viewers, onClick }: FileViewerActionProps & { onClick: () => void }) => <> {viewers.map(viewer => - - - - - - - {viewer.name} - - - + + + + + {viewer.name} + + )} ); -- 2.30.2