only show links to valid channels

This commit is contained in:
Sean Yesmunt 2019-08-28 10:03:19 -04:00
parent bb0782054d
commit 4d3ec97fa6
2 changed files with 4 additions and 4 deletions

View file

@ -59,9 +59,9 @@ class UriIndicator extends React.PureComponent<Props> {
// 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 = <span className="channel-name">{name}</span>;

View file

@ -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({