diff --git a/application/single_app/static/js/group/manage_group.js b/application/single_app/static/js/group/manage_group.js index 2de03e43..250a7b70 100644 --- a/application/single_app/static/js/group/manage_group.js +++ b/application/single_app/static/js/group/manage_group.js @@ -644,22 +644,15 @@ function searchUsers() { // Render user-search results in add-member modal function renderUserSearchResults(users) { let html = ""; - if (!users || !users.length) { - html = `No results.`; if (!users || !users.length) { html = `No results.`; } else { - users.forEach(u => { users.forEach(u => { html += ` ${u.displayName || "(no name)"} ${u.email || ""} -