Render npm packages simpler

This commit is contained in:
Anders Rune Jensen
2017-10-12 21:22:17 +02:00
parent 1143975d12
commit 265f3e7311
+3
View File
@@ -473,6 +473,9 @@ function render(opts, id, c) {
else if (c.type == "pub") { else if (c.type == "pub") {
return h('span.status', 'Connected to the pub ' + c.address.host); return h('span.status', 'Connected to the pub ' + c.address.host);
} }
else if (c.type == "npm-packages") {
return [h('span.status', 'Pushed npm packages')];
}
else if (c.type == "channel" && c.subscribed) else if (c.type == "channel" && c.subscribed)
return h('span.status', return h('span.status',
'Subscribed to channel ', 'Subscribed to channel ',