From e786e7b626b313e8846d854a4eb3c61a25d55e34 Mon Sep 17 00:00:00 2001 From: Julien Sanchez Date: Thu, 2 Dec 2021 17:06:00 +0100 Subject: [PATCH] add link to github --- src/components/NodeReport.tsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/NodeReport.tsx b/src/components/NodeReport.tsx index 94f9cc2..96914a5 100644 --- a/src/components/NodeReport.tsx +++ b/src/components/NodeReport.tsx @@ -9,6 +9,7 @@ import { SwitcherButton, Table, useBooleanState, + ViewIcon, } from 'akeneo-design-system'; import {Link, useRouteMatch} from 'react-router-dom'; import styled from 'styled-components'; @@ -180,14 +181,19 @@ const NodeReport = ({report, reportName, reports, onReportChange}: NodeReportPro {'file' === child.type ? : }   {'file' === child.type ? child.name : {child.name}} - } - title="Copy to clipboard" - onClick={() => copyToClipboard(child.path)} - /> + + } + title="Open in github" + /> + {'directory' === child.type && (