git ssb

0+

mixmix / patch-inbox



Commit 1467096ba00c483e19443074f64ea107da692c4e

patch render/post

mix irving committed on 9/10/2017, 8:22:37 AM
Parent: cc1437fecab5c0ee77e3635f3d50a782236080d1

Files changed

message/html/render/post.jschanged
message/html/render/post.jsView
@@ -14,9 +14,9 @@
1414
1515 exports.create = function (api) {
1616 return nest('message.html.render', function renderMessage (msg, opts) {
1717 if (msg.value.content.type !== 'post') return
18- if (opts && opts.layout !== 'inbox') return
18 + if (!opts || opts.layout !== 'inbox') return
1919
2020 var element = api.message.html.layout(msg, Object.assign({}, {
2121 title: messageTitle(msg),
2222 // content: messageContent(msg), // not needed

Built with git-ssb-web