From 35296a88b1497cfe7b4aa2afb51c56c00e38b3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Wed, 3 Feb 2021 16:15:40 +0100 Subject: [PATCH] fix: message appearing after adding repositories --- 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;