Commit 3fd43b43c3b954ff0c298a7fd570c4d12ba97d72
drop git-update backlinks back into renderer
Ev Bogue committed on 3/13/2019, 2:34:57 AMParent: d6b80ccf3b7cdf17831fe84ad7e1811bd6a6cbd5
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -79,8 +79,11 @@ | ||
79 | 79 … | (msg.value.content.root == data.value.content.root) |
80 | 80 … | ) { |
81 | 81 … | message.appendChild(h('div.submessage', (exports.render(data)))) |
82 | 82 … | } |
83 … | + } else if (data.value.content.type == 'git-update') { | |
84 … | + message.appendChild(h('div.submessage', (exports.render(data)))) | |
85 … | + | |
83 | 86 … | } else { |
84 | 87 … | var link = h('span', ' backlinked from ', tools.messageLink(data.key)) |
85 | 88 … | message.appendChild(h('div.submessage', h('div.messageContent', tools.mini(data, link)))) |
86 | 89 … | } |
Built with git-ssb-web