git ssb

10+

Matt McKegg / patchwork



Commit dabd8b0e595ab5b476fdb6634f3641257c23fa47

blog: clean up canRender function

Matt McKegg committed on 4/11/2018, 3:41:27 AM
Parent: b231307c8a7f2cac38250a347620038c0742abac

Files changed

plugs/message/html/render/blog.jschanged
plugs/message/html/render/blog.jsView
@@ -92,6 +92,6 @@
9292 return b
9393 }
9494
9595 function canRender (msg) {
96- return msg.value && msg.value.content && msg.value.content.type === 'blog' && isBlog(msg)
96+ if (isBlog(msg)) return true
9797 }

Built with git-ssb-web