Commit 3e28c72ecb926bf17caaaf4e0034198e847faab7
message.html.meta.channel: don't show for type == 'channel'
Matt McKegg committed on 6/20/2017, 4:08:46 PMParent: 6513733df7f7dc3466f8504069f1c20414ee1cdf
Files changed
message/html/meta/channel.js | changed |
message/html/meta/channel.js | ||
---|---|---|
@@ -5,7 +5,7 @@ | ||
5 | 5 … | |
6 | 6 … | exports.create = (api) => { |
7 | 7 … | return nest('message.html.meta', function renderChannel (msg) { |
8 | 8 … | const { channel } = msg.value.content |
9 | - if (channel) return h('a.channel', {href: `#${channel}`}, [`#${channel}`]) | |
9 … | + if (channel && msg.value.content.type !== 'channel') return h('a.channel', {href: `#${channel}`}, [`#${channel}`]) | |
10 | 10 … | }) |
11 | 11 … | } |
Built with git-ssb-web