1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix: message appearing after adding repositories

This commit is contained in:
Fernando Fernández 2021-02-03 16:15:40 +01:00
parent 5fbe3be254
commit 35296a88b1

View file

@ -52,6 +52,8 @@ function populateList(options) {
html += '</div>'; html += '</div>';
if (!options.repositories.length) { if (!options.repositories.length) {
options.noneElement.classList.remove('hide'); options.noneElement.classList.remove('hide');
} else {
options.noneElement.classList.add('hide');
} }
options.listElement.innerHTML = html; options.listElement.innerHTML = html;