do not display active searches table if it's empty

pull/34/head
Zlatin Balevsky 2019-12-15 16:47:07 +00:00
parent 5ded824ef2
commit e29d7f6872
1 changed files with 4 additions and 1 deletions

View File

@ -787,7 +787,10 @@ function refreshStatus() {
}
var activeDiv = document.getElementById("activeSearches")
activeDiv.innerHTML = table.render()
if (statuses.length > 0)
activeDiv.innerHTML = table.render()
else
activeDiv.innerHTML = ""
if (uuid != null) {
var newStatus = statusByUUID.get(uuid)