mirror of https://github.com/zlatinb/muwire
do not display active searches table if it's empty
parent
5ded824ef2
commit
e29d7f6872
|
@ -787,7 +787,10 @@ function refreshStatus() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var activeDiv = document.getElementById("activeSearches")
|
var activeDiv = document.getElementById("activeSearches")
|
||||||
activeDiv.innerHTML = table.render()
|
if (statuses.length > 0)
|
||||||
|
activeDiv.innerHTML = table.render()
|
||||||
|
else
|
||||||
|
activeDiv.innerHTML = ""
|
||||||
|
|
||||||
if (uuid != null) {
|
if (uuid != null) {
|
||||||
var newStatus = statusByUUID.get(uuid)
|
var newStatus = statusByUUID.get(uuid)
|
||||||
|
|
Loading…
Reference in New Issue