remove contact info from simplenodelist

This commit is contained in:
Nils Schneider 2015-04-26 11:52:21 +02:00
commit 913f9f70f6
3 changed files with 4 additions and 6 deletions

View file

@ -1,5 +1,5 @@
define(["moment", "virtual-dom"], function (moment, V) {
return function(config, nodes, field, router, title) {
return function(nodes, field, router, title) {
var self = this
var el, tbody
@ -47,9 +47,6 @@ define(["moment", "virtual-dom"], function (moment, V) {
if (has_location(d))
td1Content.push(V.h("span", {className: "icon ion-location"}))
if ("owner" in d.nodeinfo && config.showContact)
td1Content.push(" - " + d.nodeinfo.owner.contact)
var td1 = V.h("td", td1Content)
var td2 = V.h("td", time)