Commit 7ef71d707b30be90cad8a74eaa272e42532d9491
msg.key is correct here
Ev Bogue committed on 7/29/2018, 6:10:24 PMParent: 563f3289796d5937aa1841d93260f191a0b0da45
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -90,11 +90,11 @@ | ||
90 | 90 | } |
91 | 91 | else if (msg.value.content.type == 'git-repo') { |
92 | 92 | message.appendChild(tools.header(msg)) |
93 | 93 | if (msg.value.content.name) { |
94 | - message.appendChild(h('p', h('a', {href: msg.link}, '%' + msg.value.content.name))) | |
94 | + message.appendChild(h('p', h('a', {href: '#' + msg.key}, '%' + msg.value.content.name))) | |
95 | 95 | } else { |
96 | - message.appendChild(h('p', h('a', {href: msg.link}, msg.link))) | |
96 | + message.appendChild(h('p', h('a', {href: '#' + msg.key}, msg.key))) | |
97 | 97 | } |
98 | 98 | var cloneurl = h('pre', 'git clone ssb://' + msg.key) |
99 | 99 | message.appendChild(cloneurl) |
100 | 100 | //message.appendChild(h('pre', tools.rawJSON(msg.value.content))) |
Built with git-ssb-web