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

Merge pull request #2375 from jellyfin/fix-no-repository-message

fix: message appearing after adding repositories
(cherry picked from commit bd297efac9)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
dkanada 2021-02-04 23:25:34 +09:00 committed by Joshua M. Boniface
parent 5e8c92a7a7
commit 93042157f8

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;