From 4d3ec97fa6adc69978178a9e0ee90851e96f5f62 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 28 Aug 2019 10:03:19 -0400 Subject: [PATCH] only show links to valid channels --- src/ui/component/uriIndicator/view.jsx | 6 +++--- webpack.base.config.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/component/uriIndicator/view.jsx b/src/ui/component/uriIndicator/view.jsx index 3c7d54897..ed0a2d50d 100644 --- a/src/ui/component/uriIndicator/view.jsx +++ b/src/ui/component/uriIndicator/view.jsx @@ -59,9 +59,9 @@ class UriIndicator extends React.PureComponent { // Disabling now because it mostly causes issues // Add this back to ensure we only add links to signed channels - // if (claim.is_channel_signature_valid) { - channelLink = link ? buildURI({ channelName: name, claimId }) : false; - // } + if (claim.is_channel_signature_valid) { + channelLink = link ? buildURI({ channelName: name, channelClaimId: claimId }) : false; + } const inner = {name}; diff --git a/webpack.base.config.js b/webpack.base.config.js index e0035539b..00dc1fa2e 100644 --- a/webpack.base.config.js +++ b/webpack.base.config.js @@ -14,7 +14,7 @@ console.log(ifProduction('production', 'development')); let baseConfig = { mode: ifProduction('production', 'development'), - devtool: ifProduction(false, 'cheap-module-eval-source-map'), + devtool: ifProduction(false, 'eval-source-map'), optimization: { minimizer: [ new TerserPlugin({