remove displaying empty obj + typo

pull/7/head
yann300 8 years ago
parent d2f55d65f2
commit 2603a133c1
  1. 3
      src/ui/TreeView.js

@ -16,9 +16,6 @@ class TreeView {
}
render (json) {
if (!json || !Object.keys(json).length) {
json = {' - ': ' - '}
}
var view = yo`<div>${this.renderProperties(json, true)}</div>`
if (!this.view) {
this.view = view

Loading…
Cancel
Save