diff --git a/src/ui/TreeView.js b/src/ui/TreeView.js index bc122b572d..77404099e3 100644 --- a/src/ui/TreeView.js +++ b/src/ui/TreeView.js @@ -16,9 +16,6 @@ class TreeView { } render (json) { - if (!json || !Object.keys(json).length) { - json = {' - ': ' - '} - } var view = yo`
${this.renderProperties(json, true)}
` if (!this.view) { this.view = view @@ -58,7 +55,7 @@ class TreeView { if (this.beforeJsonValueRendered) { this.beforeJsonValueRendered(label, item, key) } - return yo`
  • ${label} : ${item}
  • ` + return yo`
  • ${label}: ${item}
  • ` } }