git ssb

16+

cel / patchfoo



Commit ca0b63df96c204a60774b625d7a73ca4c5049721

Hide falsy branch/root links

Reference: %jPUprTDlAhZI0VoKT8OUYoJinC4Glc+1GnlJwAgSH2U=.sha256
cel committed on 11/14/2019, 11:21:15 PM
Parent: edc930244c49857c53724b26229dfdb9c0002a5d

Files changed

lib/render-msg.jschanged
lib/render-msg.jsView
@@ -573,9 +573,9 @@
573573
574574 RenderMsg.prototype.links = function (links, cb) {
575575 var self = this
576576 var done = multicb({pluck: 1})
577- u.toArray(links).forEach(function (link) {
577 + u.toArray(links).filter(Boolean).forEach(function (link) {
578578 self.link(link, done())
579579 })
580580 done(cb)
581581 }

Built with git-ssb-web