only show links to valid channels
This commit is contained in:
parent
bb0782054d
commit
4d3ec97fa6
2 changed files with 4 additions and 4 deletions
|
@ -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>;
|
||||
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue