Browse Source

Category: don't show repositoryId if not set

master
Stephan Bösch-Plepelits 7 years ago
parent
commit
e9f19b122f
  1. 2
      src/CategoryBase.js

2
src/CategoryBase.js

@ -42,7 +42,7 @@ function CategoryBase (options, data) {
a.onclick = this.toggle.bind(this)
domHeader.appendChild(a)
if (this.options.repositoryId !== 'default') {
if (this.options.repositoryId && this.options.repositoryId !== 'default') {
a = document.createElement('span')
a.className = 'repoId'
a.appendChild(document.createTextNode(this.options.repositoryId))

Loading…
Cancel
Save