From 93042157f81131db647e856ee1fdb8a3587a0064 Mon Sep 17 00:00:00 2001 From: dkanada Date: Thu, 4 Feb 2021 23:25:34 +0900 Subject: [PATCH] Merge pull request #2375 from jellyfin/fix-no-repository-message fix: message appearing after adding repositories (cherry picked from commit bd297efac98a9b81b7e7b0128640f9678a435150) Signed-off-by: Joshua M. Boniface --- src/controllers/dashboard/plugins/repositories/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/dashboard/plugins/repositories/index.js b/src/controllers/dashboard/plugins/repositories/index.js index 503e3ecf45..d9188cd3a2 100644 --- a/src/controllers/dashboard/plugins/repositories/index.js +++ b/src/controllers/dashboard/plugins/repositories/index.js @@ -52,6 +52,8 @@ function populateList(options) { html += ''; if (!options.repositories.length) { options.noneElement.classList.remove('hide'); + } else { + options.noneElement.classList.add('hide'); } options.listElement.innerHTML = html;