git ssb

7+

dinoworm 🐛 / patchcore



Commit 3e28c72ecb926bf17caaaf4e0034198e847faab7

message.html.meta.channel: don't show for type == 'channel'

Matt McKegg committed on 6/20/2017, 4:08:46 PM
Parent: 6513733df7f7dc3466f8504069f1c20414ee1cdf

Files changed

message/html/meta/channel.jschanged
message/html/meta/channel.jsView
@@ -5,7 +5,7 @@
55
66 exports.create = (api) => {
77 return nest('message.html.meta', function renderChannel (msg) {
88 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}`])
1010 })
1111 }

Built with git-ssb-web