git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit cd20635efd5ca1dc24c6489d7fcd169523f749bc

Pass pageId to message renders for patch-gatherings

Piet Geursen committed on 5/18/2017, 8:40:34 AM
Parent: e1c6c9fbe156d68582d7586b3a31771ecbf18e83

Files changed

modules/page/html/render/message.jschanged
modules/page/html/render/message.jsView
@@ -59,9 +59,9 @@
5959 h('div.messages', [
6060 when(thread.branchId, h('a.full', {href: thread.rootId}, ['View full thread'])),
6161 map(thread.messages, (msg) => {
6262 return computed([msg, thread.previousKey(msg)], (msg, previousId) => {
63- return api.message.html.render(msg, {previousId, backlinks: true})
63+ return api.message.html.render(msg, {pageId: id, previousId, backlinks: true})
6464 })
6565 })
6666 ]),
6767 compose

Built with git-ssb-web