git ssb

16+

cel / patchfoo



Commit 49d72723ed74ac04099a46e2aae2ef68432ba210

Fix checking git-update size

cel committed on 5/4/2017, 10:21:14 PM
Parent: 63f0ef02ef5ebe4295b7019a8cd521dae5aae0cb

Files changed

lib/render-msg.jschanged
lib/render-msg.jsView
@@ -470,9 +470,9 @@
470470 RenderMsg.prototype.gitUpdate = function (cb) {
471471 var self = this
472472 // h('a', {href: self.toUrl(self.c.repo)}, 'ssb://' + self.c.repo),
473473 var size = [].concat(self.c.packs, self.c.indexes)
474- .map(function (o) { return o.size })
474 + .map(function (o) { return o && o.size })
475475 .reduce(function (total, s) { return total + s })
476476 self.link(self.c.repo, function (err, a) {
477477 if (err) return cb(err)
478478 self.wrap(h('div.ssb-git-update',

Built with git-ssb-web