From fbf650851a2d9d0da668dee1492d2a8f7b6e267d Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Thu, 11 Jun 2020 15:33:59 -0500 Subject: [PATCH] Use cid as target. --- packages/console-app/src/components/PackageLink.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console-app/src/components/PackageLink.js b/packages/console-app/src/components/PackageLink.js index efe5586..77b1b02 100644 --- a/packages/console-app/src/components/PackageLink.js +++ b/packages/console-app/src/components/PackageLink.js @@ -18,7 +18,7 @@ const PackageLink = ({ config, type, pkg, text }) => { // TODO(burdon): Pass in expected arg types. if (typeof pkg === 'string') { const ipfsUrl = getServiceUrl(config, 'ipfs.gateway', { path: `${pkg}` }); - return {text || pkg}; + return {text || pkg}; } // eslint-disable-next-line default-case @@ -35,7 +35,7 @@ const PackageLink = ({ config, type, pkg, text }) => { key={cid} href={ipfsUrl} title={cid} - target='ipfs' + target={pkg} > {platform}/{arch}: {cid}